Let fwknop build on NetBSD

This commit is contained in:
2018-04-25 03:47:56 +02:00
parent 576d09afbf
commit 4d88f08f56
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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>