summaryrefslogtreecommitdiff
path: root/Makefile.glib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-10-05 14:31:31 +0200
committerThomas Haller <thaller@redhat.com>2015-10-05 15:01:38 +0200
commit0907f3c21eee831deb338e6c91a79f0c92e7dd66 (patch)
tree3053cae588a0c5a1494fa3e895e7ad1a420eeea3 /Makefile.glib
parent82c37e643b8174ba9689ebb4d566cbd41f17b500 (diff)
downloadNetworkManager-0907f3c21eee831deb338e6c91a79f0c92e7dd66.tar.gz
build: include "config.h" in nm*enum-types.c sources
Also include the "config.h" file in the generated sources like "nm-enum-types.c".
Diffstat (limited to 'Makefile.glib')
-rw-r--r--Makefile.glib2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.glib b/Makefile.glib
index 626b946c75..87b7f8234c 100644
--- a/Makefile.glib
+++ b/Makefile.glib
@@ -85,7 +85,7 @@ $(1).h: $(1).h.stamp
$(1).c.stamp: $(_glib_enum_types_h_sources) Makefile
$$(_GLIB_V_GEN) $$(GLIB_MKENUMS) \
- --fhead "/* Generated by glib-mkenums. Do not edit */\n\n#include \"$(notdir $(1)).h\"\n" \
+ --fhead "/* Generated by glib-mkenums. Do not edit */\n\n#include \"config.h\"\n\n#include \"$(notdir $(1)).h\"\n" \
$$(GLIB_MKENUMS_C_FLAGS) \
$$($(_glib_enum_types_prefix)_MKENUMS_C_FLAGS) \
--fhead "$$(foreach f,$$(filter-out Makefile,$$(^F)),\n#include \"$$(f)\")\n\n" \