Fix ar7 image generation with MacOSX
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 12 Jun 2007 16:46:52 +0000 (16:46 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 12 Jun 2007 16:46:52 +0000 (16:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7592 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>