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 67123d9..f3796ac 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>