sim: moxie: fix build by including config.h first
authorMike Frysinger <vapier@gentoo.org>
Sun, 17 Jun 2012 23:33:42 +0000 (23:33 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 17 Jun 2012 23:33:42 +0000 (23:33 +0000)
sim/moxie/ChangeLog
sim/moxie/interp.c

index 1b35776..d4f1e24 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include config.h first.  Also include fcntl.h directly.
+
 2012-06-15  Joel Brobecker  <brobecker@adacore.com>
 
        * config.in, configure: Regenerate.
index 9c98021..c16c34f 100644 (file)
@@ -17,6 +17,8 @@ GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#include "config.h"
+#include <fcntl.h>
 #include <signal.h>
 #include <stdlib.h>
 #include "sysdep.h"