summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlban Browaeys <prahal@yahoo.com>2013-01-22 10:55:54 +0100
committerJens Georg <mail@jensge.org>2013-01-30 14:32:02 +0100
commita35e01c480706d15c4743e0567465af15316939b (patch)
tree1ed3435fb2afb624bcfc84179cee11026393aa4f /tests
parent5b72f293cd9af56dc35a146a15ccad2990aba9e0 (diff)
downloadgupnp-igd-a35e01c480706d15c4743e0567465af15316939b.tar.gz
build: also include config.h in the examples.
https://bugzilla.gnome.org/show_bug.cgi?id=692269
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/test-thread.c4
-rw-r--r--tests/examples/test.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/examples/test-thread.c b/tests/examples/test-thread.c
index d7c055e..ce6d669 100644
--- a/tests/examples/test-thread.c
+++ b/tests/examples/test-thread.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
diff --git a/tests/examples/test.c b/tests/examples/test.c
index 178a017..10da180 100644
--- a/tests/examples/test.c
+++ b/tests/examples/test.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <glib.h>