From 0ff525cb0506b2c043bc9df6d7e7b486c865bc38 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 5 Apr 2009 12:34:31 +0200 Subject: 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. --- include/ulogd/Makefile.am | 3 +-- include/ulogd/ulogd.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include/ulogd') 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 /* need this because of extension-sighandler */ #include #include +#ifdef HAVE_CONFIG_H #include +#endif #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) -- cgit v1.2.3