diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-07-16 17:37:37 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-07-16 17:37:37 +0000 |
commit | c025bfc086a5d30e71f269c182d3de6f127340c3 (patch) | |
tree | 3c176a5686052ea1b7614f95ed662ced1e73e697 /tools/creative.c | |
parent | 3f82e03f1113774baa6b5f4f788178b5bbaf8c55 (diff) |
Fix for OS X compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18073 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/creative.c')
-rw-r--r-- | tools/creative.c | 4 |
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" |