summaryrefslogtreecommitdiff
path: root/json-glib/json-generator.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-generator.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-generator.c')
-rw-r--r--json-glib/json-generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/json-generator.c b/json-glib/json-generator.c
index 30fb5b1..6b18bd9 100644
--- a/json-glib/json-generator.c
+++ b/json-glib/json-generator.c
@@ -25,7 +25,9 @@
* put it into a buffer or a file.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdlib.h>
#include <string.h>