diff options
author | Emmanuele Bassi <ebassi@openedhand.com> | 2007-12-25 21:44:03 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@openedhand.com> | 2007-12-25 21:44:03 +0000 |
commit | 629d4a54913c578d7b612f10d9b04addc8e0c7fb (patch) | |
tree | adb6509130c2fa52971c45aa757e040d8ba66d6b /json-glib/json-generator.c | |
parent | e172e9ccec88999e7d8433df08d8d92568537cf7 (diff) | |
download | json-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.c | 2 |
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> |