diff options
author | Martin Szulecki | 2012-03-19 01:42:38 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-03-19 01:42:38 +0100 |
commit | a87e507134f674f06b3150b1e588a3707c6f4277 (patch) | |
tree | 5d0db221f4b3ca76c0454f1b73300fa967c3efe1 /src | |
parent | af7b43c4574d781a1bc8899f77df390bd9301f28 (diff) | |
download | libimobiledevice-a87e507134f674f06b3150b1e588a3707c6f4277.tar.gz libimobiledevice-a87e507134f674f06b3150b1e588a3707c6f4277.tar.bz2 |
Fix building on OSX
Diffstat (limited to 'src')
-rw-r--r-- | src/debug.c | 2 | ||||
-rw-r--r-- | src/lockdown.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index b1c528d..49ec7c7 100644 --- a/src/debug.c +++ b/src/debug.c @@ -35,8 +35,10 @@ #include "libimobiledevice/libimobiledevice.h" #ifndef STRIP_DEBUG_CODE +#ifndef HAVE_ASPRINTF #include "asprintf.h" #endif +#endif int debug_level = 0; diff --git a/src/lockdown.c b/src/lockdown.c index 0f1e1b2..e3d557c 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -35,7 +35,9 @@ #include "idevice.h" #include "debug.h" #include "userpref.h" +#ifndef HAVE_ASPRINTF #include "asprintf.h" +#endif #define RESULT_SUCCESS 0 #define RESULT_FAILURE 1 |