This patch modifies Makefile.am to install the headers needed for
compilation of plugins outside of the source tree.
SUBDIRS = ulogd libipulog
+nobase_include_HEADERS = ulogd/conffile.h ulogd/ipfix_protocol.h ulogd/linuxlist.h ulogd/ulogd.h ulogd/common.h ulogd/linux_rbtree.h ulogd/timer.h ulogd/slist.h ulogd/hash.h ulogd/jhash.h
-
-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
#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]))