]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 1b357760f45080da3dfc49d394f93de5f52cb532..d4f1e24d329a7e34b828bac8812c1472229eab4f 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 9c98021a59235eb466508f7b42868ef8dd10b869..c16c34ffc0860bb8999f8a8a20458d5a7a9cb665 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"