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