summaryrefslogtreecommitdiffstats
path: root/tools/creative.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/creative.c')
-rw-r--r--tools/creative.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/creative.c b/tools/creative.c
index 2d60fdd94c..43fdbbc917 100644
--- a/tools/creative.c
+++ b/tools/creative.c
@@ -23,7 +23,11 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
+#if !defined(__APPLE__)
#include <elf.h>
+#else
+#include "mac-elf.h" /* Mac OS X doesn't distribuate elf.h... */
+#endif
#include "creative.h"
#include "hmac-sha1.h"