From 4e518231cf5ff4485fdaf4d52c4f51aa48e5255d Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 10 Sep 2011 19:49:16 +0200 Subject: Add asprintf replacement for systems lacking it --- src/debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/debug.c') 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; /** -- cgit v1.1-32-gdbae