summaryrefslogtreecommitdiffstats
path: root/ulogd/libipulog
diff options
context:
space:
mode:
Diffstat (limited to 'ulogd/libipulog')
-rw-r--r--ulogd/libipulog/include/libipulog/libipulog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ulogd/libipulog/include/libipulog/libipulog.h b/ulogd/libipulog/include/libipulog/libipulog.h
index 9b0c277..5d17445 100644
--- a/ulogd/libipulog/include/libipulog/libipulog.h
+++ b/ulogd/libipulog/include/libipulog/libipulog.h
@@ -1,6 +1,8 @@
#ifndef _LIBIPULOG_H
#define _LIBIPULOG_H
+/* $Id$ */
+
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
@@ -12,6 +14,11 @@
#include <net/if.h>
#include <linux/netfilter_ipv4/ipt_ULOG.h>
+/* FIXME: glibc sucks */
+#ifndef MSG_TRUNC
+#define MSG_TRUNC 0x20
+#endif
+
struct ipulog_handle;
u_int32_t ipulog_group2gmask(u_int32_t group);