From: Mike Frysinger Date: Sun, 17 Jun 2012 23:33:42 +0000 (+0000) Subject: sim: moxie: fix build by including config.h first X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6c2b87eec205ad6c5958eeb1711a7eb1638a51f;p=binutils-gdb.git sim: moxie: fix build by including config.h first --- diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 1b357760f45..d4f1e24d329 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2012-06-17 Mike Frysinger + + * interp.c: Include config.h first. Also include fcntl.h directly. + 2012-06-15 Joel Brobecker * config.in, configure: Regenerate. diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 9c98021a592..c16c34ffc08 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -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 . */ +#include "config.h" +#include #include #include #include "sysdep.h"