diff -ur libimobiledevice-1.0.6/src/debug.c libimobiledevice-1.0.6-new/src/debug.c --- libimobiledevice-1.0.6/src/debug.c 2011-03-26 00:53:34.000000000 -1000 +++ libimobiledevice-1.0.6-new/src/debug.c 2011-10-11 23:21:59.000000000 -1000 @@ -93,7 +93,7 @@ #endif } -inline void debug_buffer(const char *data, const int length) +void debug_buffer(const char *data, const int length) { #ifndef STRIP_DEBUG_CODE int i; diff -ur libimobiledevice-1.0.6/src/debug.h libimobiledevice-1.0.6-new/src/debug.h --- libimobiledevice-1.0.6/src/debug.h 2010-12-16 11:39:50.000000000 -1000 +++ libimobiledevice-1.0.6-new/src/debug.h 2011-10-11 23:21:46.000000000 -1000 @@ -23,6 +23,7 @@ #ifndef DEBUG_H #define DEBUG_H +#include "config.h" #include #include @@ -42,7 +43,7 @@ int line, const char *format, ...); -G_GNUC_INTERNAL inline void debug_buffer(const char *data, const int length); +G_GNUC_INTERNAL void debug_buffer(const char *data, const int length); G_GNUC_INTERNAL inline void debug_buffer_to_file(const char *file, const char *data, const int length); G_GNUC_INTERNAL inline void debug_plist_real(const char *func, const char *file,