diff options
| author | 2011-09-10 19:49:16 +0200 | |
|---|---|---|
| committer | 2012-03-19 01:39:07 +0100 | |
| commit | 4e518231cf5ff4485fdaf4d52c4f51aa48e5255d (patch) | |
| tree | 7d9b248399b6bae1fbe209d1dc1d9662b1a0f361 /src/debug.c | |
| parent | d619762b8eb9e0ef180018e8731744a5c9a8a6bd (diff) | |
| download | libimobiledevice-4e518231cf5ff4485fdaf4d52c4f51aa48e5255d.tar.gz libimobiledevice-4e518231cf5ff4485fdaf4d52c4f51aa48e5255d.tar.bz2 | |
Add asprintf replacement for systems lacking it
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index ece2b1d..b1c528d 100644 --- a/src/debug.c +++ b/src/debug.c | |||
| @@ -34,6 +34,10 @@ | |||
| 34 | #include "debug.h" | 34 | #include "debug.h" |
| 35 | #include "libimobiledevice/libimobiledevice.h" | 35 | #include "libimobiledevice/libimobiledevice.h" |
| 36 | 36 | ||
| 37 | #ifndef STRIP_DEBUG_CODE | ||
| 38 | #include "asprintf.h" | ||
| 39 | #endif | ||
| 40 | |||
| 37 | int debug_level = 0; | 41 | int debug_level = 0; |
| 38 | 42 | ||
| 39 | /** | 43 | /** |
