aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-06-12 16:46:52 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-06-12 16:46:52 +0000
commitb8b5d01cbb611f32b253d1cbd349fc923399ca9e (patch)
tree13ca87b228717ad64f6f77ef084b764fce5b7df8 /tools
parentde49793bb719add1ae4fe75c1d6ec99dde43213a (diff)
downloadupstream-b8b5d01cbb611f32b253d1cbd349fc923399ca9e.tar.gz
upstream-b8b5d01cbb611f32b253d1cbd349fc923399ca9e.tar.bz2
upstream-b8b5d01cbb611f32b253d1cbd349fc923399ca9e.zip
Fix ar7 image generation with MacOSX
SVN-Revision: 7592
Diffstat (limited to 'tools')
-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 67123d9344..f3796acf07 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>