summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-05 13:36:09 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-05 13:36:09 +0200
commitee22d4da9d695b801475f90a0adc9fbc85c1261a (patch)
tree7db96740779e7e9e1b9ae1ae1dbd0a05e4f334fb
parent5180ba5af2ee3e90d48a414f54db12e194a00319 (diff)
make: rename trafgen stddef.h file
Rename it to not confuse the build with header inclusions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r--Makefile3
-rw-r--r--trafgen_stddef.h (renamed from stddef.h)0
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b8fd7d..5788f1a 100644
--- a/Makefile
+++ b/Makefile
@@ -240,7 +240,8 @@ astraceroute_distclean_custom:
netsniff-ng_install_custom flowtop_install_custom:
$(Q)$(foreach file,$(NCONF_FILES),$(call INST,$(file),$(ETCDIRE));)
trafgen_install_custom:
- $(Q)$(call INST,stddef.h,$(ETCDIRE))
+ $(Q)$(call INST,trafgen_stddef.h,$(ETCDIRE))
+ $(Q)ln -s $(ETCDIRE)/trafgen_stddef.h $(ETCDIRE)/stddef.h
astraceroute_install_custom:
$(Q)$(call INST,geoip.conf,$(ETCDIRE))
diff --git a/stddef.h b/trafgen_stddef.h
index 13688a6..13688a6 100644
--- a/stddef.h
+++ b/trafgen_stddef.h