diff options
author | Daniele Forsi <daniele@forsi.it> | 2011-08-04 00:20:38 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-08-04 11:42:17 +0300 |
commit | bc3904185311a9a9a42747f931995fa2365711f3 (patch) | |
tree | 74046eda9cc59a4f681737d8767052b719780aee /tools/test-server.c | |
parent | 9e7e0d6bb63000b0657adb19400c725d341c5deb (diff) | |
download | obexd-bc3904185311a9a9a42747f931995fa2365711f3.tar.gz |
Fix compilation when NEED_G_SLIST_FREE_FULL is defined
To use the replacement for g_slist_free_full() both compat.h and
glib-helper.h need to be included.
Fixes:
gobex/gobex.c:911: error: implicit declaration of function 'g_slist_free_full'
tools/test-server.c:344: error: implicit declaration of function ‘g_slist_free_full’
Diffstat (limited to 'tools/test-server.c')
-rw-r--r-- | tools/test-server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test-server.c b/tools/test-server.c index 87742ec..6096737 100644 --- a/tools/test-server.c +++ b/tools/test-server.c @@ -19,6 +19,10 @@ * */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <sys/types.h> #include <sys/socket.h> #include <fcntl.h> |