aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-05-23 12:28:46 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-05-23 12:28:46 +0000
commitac761b6d1ce1668b534e778a52f76ff9f8890b2f (patch)
tree7c39570c785b02fc48d2d8519cd925f70d2296f6 /tools/mkimage
parent93f3c37ddabd513ef38cdf57d1236fd1854ba8d4 (diff)
downloadmaster-187ad058-ac761b6d1ce1668b534e778a52f76ff9f8890b2f.tar.gz
master-187ad058-ac761b6d1ce1668b534e778a52f76ff9f8890b2f.tar.bz2
master-187ad058-ac761b6d1ce1668b534e778a52f76ff9f8890b2f.zip
fix mkimage compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7307 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mkimage')
-rw-r--r--tools/mkimage/src/crc32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mkimage/src/crc32.c b/tools/mkimage/src/crc32.c
index 3d99b69296..067b3106c8 100644
--- a/tools/mkimage/src/crc32.c
+++ b/tools/mkimage/src/crc32.c
@@ -8,6 +8,8 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
+#define USE_HOSTCC
+
#ifndef USE_HOSTCC /* Shut down "ANSI does not permit..." warnings */
#include <common.h> /* to get command definitions like CFG_CMD_JFFS2 */
#endif