summaryrefslogtreecommitdiffstats
path: root/src/lockdown.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/lockdown.c
parentaf7b43c4574d781a1bc8899f77df390bd9301f28 (diff)
downloadlibimobiledevice-a87e507134f674f06b3150b1e588a3707c6f4277.tar.gz
libimobiledevice-a87e507134f674f06b3150b1e588a3707c6f4277.tar.bz2
Fix building on OSX
Diffstat (limited to 'src/lockdown.c')
-rw-r--r--src/lockdown.c2
1 files changed, 2 insertions, 0 deletions
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