summaryrefslogtreecommitdiff
path: root/json-glib/json-path.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-06-01 13:09:01 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-06-01 13:09:01 +0100
commit67edce08670ce1da4956f87948985434ac5ae2ca (patch)
treef788c5d528749b53f8d71901d7df9639fb7004bb /json-glib/json-path.c
parente3b5883d4435da7fe677eb9a7c74d2f83980f5da (diff)
downloadjson-glib-67edce08670ce1da4956f87948985434ac5ae2ca.tar.gz
Add i18n machinery
We need to translate the GError messages.
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r--json-glib/json-path.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c
index 0857e05..4ed232f 100644
--- a/json-glib/json-path.c
+++ b/json-glib/json-path.c
@@ -200,12 +200,14 @@
* #JsonPath is available since JSON-GLib 0.14
*/
-#ifndef HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
+#include <glib/gi18n-lib.h>
+
#include "json-path.h"
#include "json-debug.h"