summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/autoconf.h.in3
-rw-r--r--sysdep/unix/io.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdep/autoconf.h.in b/sysdep/autoconf.h.in
index ae4d6b65..6c76f1a9 100644
--- a/sysdep/autoconf.h.in
+++ b/sysdep/autoconf.h.in
@@ -29,6 +29,9 @@
#undef TIME_T_IS_64BIT
#undef TIME_T_IS_SIGNED
+/* We have struct ip_mreqn in <netinet/in.h> */
+#undef HAVE_STRUCT_IP_MREQN
+
/* Protocols compiled in */
#undef CONFIG_STATIC
#undef CONFIG_RIP
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 69f8a5c7..d98972c7 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -407,8 +407,7 @@ sk_open(sock *s)
case SK_UDP_MC:
case SK_IP_MC:
{
-#ifdef HAVE_IP_MREQN
- /* FIXME: Define HAVE_IP_MREQN somewhere :) */
+#ifdef HAVE_STRUCT_IP_MREQN
struct ip_mreqn mreq;
#define mreq_add mreq
ASSERT(s->iface);