tools/mkimage: Include sys/types.h on Darwin/BSD.
authorFelix Fietkau <nbd@openwrt.org>
Wed, 5 Dec 2007 18:45:11 +0000 (18:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 5 Dec 2007 18:45:11 +0000 (18:45 +0000)
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>
SVN-Revision: 9658

tools/mkimage/src/mkimage.c

index 6ba400a..7c0432b 100644 (file)
@@ -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;