summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-04 09:34:25 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-04 09:34:58 +0200
commit579eb4f247b7383d4f50f79e7802f9b48ffadf7a (patch)
tree091e49ee019065aaa49ce8d80c40f21d5f01ffb4 /src
parentae9e1ce5a377bcd2d19d169bdede8ca264032754 (diff)
include config.h in the generated gabble-enumtypes.c
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 28f02725f..c0f831d46 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -313,6 +313,7 @@ gabble-enumtypes.h: $(enumtype_sources) Makefile.in
gabble-enumtypes.c: $(enumtype_sources) Makefile.in
$(AM_V_GEN)glib-mkenums \
+ --fhead "#include \"config.h\"\n" \
--fhead "#include <$*.h>" \
--fprod "\n/* enumerations from \"@filename@\" */\n#include \"@filename@\"" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \