summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaforge <laforge>2001-05-21 19:15:16 +0000
committerlaforge <laforge>2001-05-21 19:15:16 +0000
commite95fef11d1458a8991b3076cfb17493a80be977a (patch)
treee2ea473dcf1e25e3b447c2c7e405b1e9558d4066
parent8ca638ac3d70b9c28cceb42ef25e8f77f099f738 (diff)
glibc 2.0 compatibility
-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);