summaryrefslogtreecommitdiffstats
path: root/libipulog
diff options
context:
space:
mode:
authorlaforge <laforge>2001-05-21 19:15:16 +0000
committerlaforge <laforge>2001-05-21 19:15:16 +0000
commit77350fc47e6180163f16f2c288ac35c2517ca9af (patch)
tree19f269bb37acfde99b722efbb59eac30513258c0 /libipulog
parentfb4b072338528ce31967ed15d8e1e9e44be93dd4 (diff)
glibc 2.0 compatibility
Diffstat (limited to 'libipulog')
-rw-r--r--libipulog/include/libipulog/libipulog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libipulog/include/libipulog/libipulog.h b/libipulog/include/libipulog/libipulog.h
index 9b0c277..5d17445 100644
--- a/libipulog/include/libipulog/libipulog.h
+++ b/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);