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 @@ | |||
| 35 | #include "libimobiledevice/libimobiledevice.h" | 35 | #include "libimobiledevice/libimobiledevice.h" |
| 36 | 36 | ||
| 37 | #ifndef STRIP_DEBUG_CODE | 37 | #ifndef STRIP_DEBUG_CODE |
| 38 | #ifndef HAVE_ASPRINTF | ||
| 38 | #include "asprintf.h" | 39 | #include "asprintf.h" |
| 39 | #endif | 40 | #endif |
| 41 | #endif | ||
| 40 | 42 | ||
| 41 | int debug_level = 0; | 43 | int debug_level = 0; |
| 42 | 44 | ||
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 @@ | |||
| 35 | #include "idevice.h" | 35 | #include "idevice.h" |
| 36 | #include "debug.h" | 36 | #include "debug.h" |
| 37 | #include "userpref.h" | 37 | #include "userpref.h" |
| 38 | #ifndef HAVE_ASPRINTF | ||
| 38 | #include "asprintf.h" | 39 | #include "asprintf.h" |
| 40 | #endif | ||
| 39 | 41 | ||
| 40 | #define RESULT_SUCCESS 0 | 42 | #define RESULT_SUCCESS 0 |
| 41 | #define RESULT_FAILURE 1 | 43 | #define RESULT_FAILURE 1 |
