[gupnp-igd] build: also include config.h in the examples.
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-igd] build: also include config.h in the examples.
- Date: Wed, 30 Jan 2013 13:37:36 +0000 (UTC)
commit a35e01c480706d15c4743e0567465af15316939b
Author: Alban Browaeys <prahal yahoo com>
Date: Tue Jan 22 10:55:54 2013 +0100
build: also include config.h in the examples.
https://bugzilla.gnome.org/show_bug.cgi?id=692269
tests/examples/test-thread.c | 4 ++++
tests/examples/test.c | 4 ++++
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]