Fix ar7 image generation with MacOSX
authorFlorian Fainelli <florian@openwrt.org>
Tue, 12 Jun 2007 16:46:52 +0000 (16:46 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 12 Jun 2007 16:46:52 +0000 (16:46 +0000)
SVN-Revision: 7592

tools/mkimage/src/mkimage.c

index 67123d93443b3715f13598a1f89471ff1980b95f..f3796acf078559b1d50e73748820d7e3b6366faf 100644 (file)
@@ -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>