aboutsummaryrefslogtreecommitdiffstats
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
commitf1353fd0ffab3457334b2fd06f60351893c2130d (patch)
tree9b23cdf16670664691e629f76957e569a4f425c6 /tools/mkimage
parent446c8757d4cd1dbb440185ace3932863a207028f (diff)
downloadupstream-f1353fd0ffab3457334b2fd06f60351893c2130d.tar.gz
upstream-f1353fd0ffab3457334b2fd06f60351893c2130d.tar.bz2
upstream-f1353fd0ffab3457334b2fd06f60351893c2130d.zip
tools/mkimage: Include sys/types.h on Darwin/BSD.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9658 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;