aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/src
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mkimage/src')
-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>