summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/nxflat
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-27 21:28:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-27 21:28:34 -0600
commitb9fd031631b1d044334399a1f2345e8d952aa5a5 (patch)
tree698a9c1d447a1cd04a745fc111ddb3827e0c367a /misc/buildroot/toolchain/nxflat
parent71aed89255ec34ef94150cbaf131befcde5d8595 (diff)
downloadnuttx-b9fd031631b1d044334399a1f2345e8d952aa5a5.tar.gz
nuttx-b9fd031631b1d044334399a1f2345e8d952aa5a5.tar.bz2
nuttx-b9fd031631b1d044334399a1f2345e8d952aa5a5.zip
Binutils 2.4 wants us to include config.h before bfd.h
Diffstat (limited to 'misc/buildroot/toolchain/nxflat')
-rw-r--r--misc/buildroot/toolchain/nxflat/ldnxflat.c1
-rw-r--r--misc/buildroot/toolchain/nxflat/mknxflat.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/buildroot/toolchain/nxflat/ldnxflat.c b/misc/buildroot/toolchain/nxflat/ldnxflat.c
index 620df1566..12bf3c047 100644
--- a/misc/buildroot/toolchain/nxflat/ldnxflat.c
+++ b/misc/buildroot/toolchain/nxflat/ldnxflat.c
@@ -77,6 +77,7 @@
#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 3e73d6287..1cb9ef3fe 100644
--- a/misc/buildroot/toolchain/nxflat/mknxflat.c
+++ b/misc/buildroot/toolchain/nxflat/mknxflat.c
@@ -51,7 +51,9 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <bfd.h>
+
+#include "config.h"
+#include "bfd.h"
#include "nxflat.h"
#include "arch/arch.h"