summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-05 18:45:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-05 18:45:11 +0000
commit78217eb87a9a15742e6d0bd4cc3ee270f306bfb9 (patch)
tree9b23cdf16670664691e629f76957e569a4f425c6 /tools
parentb4f5ad450602411b30e6d9849ce0406a93ffb597 (diff)
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')
-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 6ba400a47..7c0432bad 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;