summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-28 05:39:00 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-28 05:39:00 -0600
commitd1b3443e76f775baa28371e0aa409d460bc211e5 (patch)
tree1437da9db4a773c17c78969f8d9460ac66d83c98 /misc
parent3b329f8f3219797ef3a45bd9124327b7d279acb3 (diff)
downloadnuttx-d1b3443e76f775baa28371e0aa409d460bc211e5.tar.gz
nuttx-d1b3443e76f775baa28371e0aa409d460bc211e5.tar.bz2
nuttx-d1b3443e76f775baa28371e0aa409d460bc211e5.zip
Behavior is a little different on Linux. Need to include BFD config.h before any system files(?)
Diffstat (limited to 'misc')
-rw-r--r--misc/buildroot/toolchain/nxflat/ldnxflat.c3
-rw-r--r--misc/buildroot/toolchain/nxflat/mknxflat.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/misc/buildroot/toolchain/nxflat/ldnxflat.c b/misc/buildroot/toolchain/nxflat/ldnxflat.c
index 12bf3c047..c1c2ff49b 100644
--- a/misc/buildroot/toolchain/nxflat/ldnxflat.c
+++ b/misc/buildroot/toolchain/nxflat/ldnxflat.c
@@ -65,6 +65,8 @@
* Included Files
***********************************************************************/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -77,7 +79,6 @@
#include <sys/types.h>
#include <netinet/in.h>
-#include "config.h"
#include "bfd.h"
#include "arch/arch.h"
#include "nxflat.h"
diff --git a/misc/buildroot/toolchain/nxflat/mknxflat.c b/misc/buildroot/toolchain/nxflat/mknxflat.c
index 1cb9ef3fe..5387d385b 100644
--- a/misc/buildroot/toolchain/nxflat/mknxflat.c
+++ b/misc/buildroot/toolchain/nxflat/mknxflat.c
@@ -43,6 +43,8 @@
* Included Files
***********************************************************************/
+#include "config.h"
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
@@ -52,7 +54,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include "config.h"
#include "bfd.h"
#include "nxflat.h"