summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2007-12-25 21:44:03 +0000
committerEmmanuele Bassi <ebassi@openedhand.com>2007-12-25 21:44:03 +0000
commit629d4a54913c578d7b612f10d9b04addc8e0c7fb (patch)
treeadb6509130c2fa52971c45aa757e040d8ba66d6b /json-glib/json-gobject.c
parente172e9ccec88999e7d8433df08d8d92568537cf7 (diff)
downloadjson-glib-629d4a54913c578d7b612f10d9b04addc8e0c7fb.tar.gz
Wrap config.h include with conditionals
Including the autotools generated config.h should always be conditional on the HAVE_CONFIG_H definitions.
Diffstat (limited to 'json-glib/json-gobject.c')
-rw-r--r--json-glib/json-gobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
index 548a9ce..0526283 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -32,7 +32,9 @@
* and its virtual functions.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <string.h>
#include <stdlib.h>