Ticket #17: configure-ac.patch

File configure-ac.patch, 482 bytes (added by Gert Döring, 14 years ago)

patch for configure.ac to fix <net/if.h> issue on NetBSD

  • configure.ac

    diff --git a/configure.ac b/configure.ac
    index 5575705..6001a0a 100644
    a b if test "${WIN32}" != "yes"; then 
    372372                [#ifdef HAVE_SYS_SOCKET_H
    373373                 # include <sys/socket.h>
    374374                 #endif
     375                 #ifdef HAVE_SYS_TYPES_H
     376                 # include <sys/types.h>
     377                 #endif
    375378                ])
    376379   AC_CHECK_HEADERS(netinet/ip.h,,,
    377380                [#ifdef HAVE_SYS_TYPES_H