summaryrefslogtreecommitdiffstats
path: root/tools/mkimage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-05 18:45:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-05 18:45:11 +0000
commit3a4d04f6ec3fe876617686535f4fbed4b4409a09 (patch)
tree73307cf29546f7636543fc73b52b5ac753f62569 /tools/mkimage
parent5a9fed951a8917ad8cdc96e736608d3ee84042cb (diff)
downloadmaster-31e0f0ae-3a4d04f6ec3fe876617686535f4fbed4b4409a09.tar.gz
master-31e0f0ae-3a4d04f6ec3fe876617686535f4fbed4b4409a09.tar.bz2
master-31e0f0ae-3a4d04f6ec3fe876617686535f4fbed4b4409a09.zip
tools/mkimage: Include sys/types.h on Darwin/BSD.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> SVN-Revision: 9658
Diffstat (limited to 'tools/mkimage')
-rw-r--r--tools/mkimage/src/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage/src/mkimage.c b/tools/mkimage/src/mkimage.c
index 6ba400a47e..7c0432badf 100644
--- a/tools/mkimage/src/mkimage.c
+++ b/tools/mkimage/src/mkimage.c
@@ -38,8 +38,8 @@
#if defined(__BEOS__) || defined(__NetBSD__) || defined(__APPLE__)
#include <inttypes.h>
+#include <sys/types.h>
#endif
-
#ifdef __WIN32__
typedef unsigned int __u32;