Let fwknop build on NetBSD
This commit is contained in:
parent
576d09afbf
commit
4d88f08f56
@ -45,7 +45,7 @@
|
||||
#if HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#if PLATFORM_OPENBSD /* OpenBSD hack due to autoconf net/if.h difficulties */
|
||||
#if PLATFORM_NETBSD || PLATFORM_OPENBSD /* for autoconf net/if.h difficulties */
|
||||
#include <net/if.h>
|
||||
#include <net/ethertypes.h>
|
||||
#include <netinet/if_ether.h>
|
||||
|
||||
@ -412,6 +412,9 @@ use_mingw=no
|
||||
case "$host" in
|
||||
*-*-linux*)
|
||||
;;
|
||||
*-*-netbsd*)
|
||||
AC_DEFINE_UNQUOTED([PLATFORM_NETBSD], [1], [Define if you are running on NetBSD])
|
||||
;;
|
||||
*-*-openbsd*)
|
||||
AC_DEFINE_UNQUOTED([PLATFORM_OPENBSD], [1], [Define if you are running on OpenBSD])
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user