summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-03-19 01:42:38 +0100
committerGravatar Martin Szulecki2012-03-19 01:42:38 +0100
commita87e507134f674f06b3150b1e588a3707c6f4277 (patch)
tree5d0db221f4b3ca76c0454f1b73300fa967c3efe1 /src/debug.c
parentaf7b43c4574d781a1bc8899f77df390bd9301f28 (diff)
downloadlibimobiledevice-a87e507134f674f06b3150b1e588a3707c6f4277.tar.gz
libimobiledevice-a87e507134f674f06b3150b1e588a3707c6f4277.tar.bz2
Fix building on OSX
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 2 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;