diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-28 05:39:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-28 05:39:00 -0600 |
commit | d1b3443e76f775baa28371e0aa409d460bc211e5 (patch) | |
tree | 1437da9db4a773c17c78969f8d9460ac66d83c98 /misc/buildroot | |
parent | 3b329f8f3219797ef3a45bd9124327b7d279acb3 (diff) | |
download | px4-nuttx-d1b3443e76f775baa28371e0aa409d460bc211e5.tar.gz px4-nuttx-d1b3443e76f775baa28371e0aa409d460bc211e5.tar.bz2 px4-nuttx-d1b3443e76f775baa28371e0aa409d460bc211e5.zip |
Behavior is a little different on Linux. Need to include BFD config.h before any system files(?)
Diffstat (limited to 'misc/buildroot')
-rw-r--r-- | misc/buildroot/toolchain/nxflat/ldnxflat.c | 3 | ||||
-rw-r--r-- | misc/buildroot/toolchain/nxflat/mknxflat.c | 3 |
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" |