summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libipulog/libipulog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libipulog/libipulog.h b/include/libipulog/libipulog.h
index 9b0c2779..3f4cc2c7 100644
--- a/include/libipulog/libipulog.h
+++ b/include/libipulog/libipulog.h
@@ -1,6 +1,8 @@
#ifndef _LIBIPULOG_H
#define _LIBIPULOG_H
+/* libipulog.h,v 1.3 2001/05/21 19:15:16 laforge Exp */
+
#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);