summaryrefslogtreecommitdiffstats
path: root/tools/mkimage
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-12 16:46:52 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-12 16:46:52 +0000
commit0b4143b387d7f6226b6eb54fd5865881609f8c6b (patch)
treed4f1bf3a43798a631b5ee3c1408b3b5deed7b95c /tools/mkimage
parent480c8b30b3904c016cb6dc47cb5a43b7d67e5c36 (diff)
Fix ar7 image generation with MacOSX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7592 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mkimage')
-rw-r--r--tools/mkimage/src/mkimage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mkimage/src/mkimage.c b/tools/mkimage/src/mkimage.c
index 67123d934..f3796acf0 100644
--- a/tools/mkimage/src/mkimage.c
+++ b/tools/mkimage/src/mkimage.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
+#ifdef __APPLE__
+#define __FreeBSD__ 10
+#endif
#include <errno.h>
#include <fcntl.h>