diff options
-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 |