summaryrefslogtreecommitdiff
path: root/tools/mkimage/src/mkimage.c
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
commit3a4d04f6ec3fe876617686535f4fbed4b4409a09 (patch)
tree73307cf29546f7636543fc73b52b5ac753f62569 /tools/mkimage/src/mkimage.c
parent5a9fed951a8917ad8cdc96e736608d3ee84042cb (diff)
downloadmtk-20170518-3a4d04f6ec3fe876617686535f4fbed4b4409a09.zip
mtk-20170518-3a4d04f6ec3fe876617686535f4fbed4b4409a09.tar.gz
mtk-20170518-3a4d04f6ec3fe876617686535f4fbed4b4409a09.tar.bz2
tools/mkimage: Include sys/types.h on Darwin/BSD.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> SVN-Revision: 9658
Diffstat (limited to 'tools/mkimage/src/mkimage.c')
-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 6ba400a..7c0432b 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;