summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-10 19:49:16 +0200
committerGravatar Martin Szulecki2012-03-19 01:39:07 +0100
commit4e518231cf5ff4485fdaf4d52c4f51aa48e5255d (patch)
tree7d9b248399b6bae1fbe209d1dc1d9662b1a0f361 /src/debug.c
parentd619762b8eb9e0ef180018e8731744a5c9a8a6bd (diff)
downloadlibimobiledevice-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.c4
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 @@
#include "debug.h"
#include "libimobiledevice/libimobiledevice.h"
+#ifndef STRIP_DEBUG_CODE
+#include "asprintf.h"
+#endif
+
int debug_level = 0;
/**