summaryrefslogtreecommitdiff
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
commit014af49855bd7c56b4ccc81766f7e860f01a1192 (patch)
treeb4aa4b46b1e79cd10da0d17052c2494579839323
parent89897bd2ab532637ad16b3d857ed4d07963c991c (diff)
downloadmtk-20170518-014af49855bd7c56b4ccc81766f7e860f01a1192.zip
mtk-20170518-014af49855bd7c56b4ccc81766f7e860f01a1192.tar.gz
mtk-20170518-014af49855bd7c56b4ccc81766f7e860f01a1192.tar.bz2
fix mkimage compile
SVN-Revision: 7307
-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 3d99b69..067b310 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