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 6ba400a47e8d5af6cdbca4a2e615afe897f03166..7c0432badf89977161f03279124625c856cfbf47 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;