tools/mkimage: Include sys/types.h on Darwin/BSD.
[openwrt/svn-archive/archive.git] / 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;