summaryrefslogtreecommitdiffstats
path: root/include/ulogd
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2009-04-05 12:34:31 +0200
committerEric Leblond <eric@inl.fr>2009-04-05 12:34:31 +0200
commit0ff525cb0506b2c043bc9df6d7e7b486c865bc38 (patch)
tree8719d7c04bb28e3e1989f2393e2e0fa5a73ce21e /include/ulogd
parent2d92db0597ce4291f38606fd2789876034fab12f (diff)
ulogd: permit compilation of plugin outside of tree
This patch modifies Makefile.am to install the headers needed for compilation of plugins outside of the source tree.
Diffstat (limited to 'include/ulogd')
-rw-r--r--include/ulogd/Makefile.am3
-rw-r--r--include/ulogd/ulogd.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/ulogd/Makefile.am b/include/ulogd/Makefile.am
index 9b8a3d1..de9c8f2 100644
--- a/include/ulogd/Makefile.am
+++ b/include/ulogd/Makefile.am
@@ -1,2 +1 @@
-
-noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h printpkt.h printflow.h common.h linux_rbtree.h timer.h slist.h hash.h jhash.h
+noinst_HEADERS = db.h printpkt.h printflow.h
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h
index 2d1b348..3069454 100644
--- a/include/ulogd/ulogd.h
+++ b/include/ulogd/ulogd.h
@@ -19,7 +19,9 @@
#include <signal.h> /* need this because of extension-sighandler */
#include <sys/types.h>
#include <string.h>
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))