aboutsummaryrefslogtreecommitdiffstats
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
commit9221c61bf2ad304af85f7619a72eb8d497f43575 (patch)
treed4f1bf3a43798a631b5ee3c1408b3b5deed7b95c
parentb764f0e43d31cab23f46ff59ce585737de7e9916 (diff)
downloadupstream-9221c61bf2ad304af85f7619a72eb8d497f43575.tar.gz
upstream-9221c61bf2ad304af85f7619a72eb8d497f43575.tar.bz2
upstream-9221c61bf2ad304af85f7619a72eb8d497f43575.zip
Fix ar7 image generation with MacOSX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7592 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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>