Hi,

the following patch fixes the IFF_MULTICAST compile-time problems on NetBSD,
and it should also fix them on OpenBSD (trac entry #17).

** important: after applying the patch to configure.ac, you MUST run
** "autoreconf" - otherwise the patch won't do anything

If it still doesn't work for OpenBSD, I need to see the parts from your
config.log relating to <net/if.h>

gert

-------------- snip ----------------

Signed-off-by: Gert Doering <g...@greenie.muc.de>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4626e46..b91a41c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,6 +371,9 @@ if test "${WIN32}" != "yes"; then
                 [#ifdef HAVE_SYS_SOCKET_H 
                  # include <sys/socket.h>
                  #endif
+                 #ifdef HAVE_SYS_TYPES_H
+                 # include <sys/types.h>
+                 #endif
                 ])
    AC_CHECK_HEADERS(netinet/ip.h,,,
                 [#ifdef HAVE_SYS_TYPES_H
-- 
1.6.4.4

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Reply via email to