From d1b3443e76f775baa28371e0aa409d460bc211e5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 28 Feb 2014 05:39:00 -0600 Subject: Behavior is a little different on Linux. Need to include BFD config.h before any system files(?) --- misc/buildroot/toolchain/nxflat/ldnxflat.c | 3 ++- misc/buildroot/toolchain/nxflat/mknxflat.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'misc') 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 #include #include @@ -77,7 +79,6 @@ #include #include -#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 #include #include @@ -52,7 +54,6 @@ #include #include -#include "config.h" #include "bfd.h" #include "nxflat.h" -- cgit v1.2.3