Include netinet/if_ether.h on Illumos

This commit is contained in:
Gerhard Rieger 2015-04-02 17:16:00 +02:00
parent 5b5b811abb
commit 7a2adc3a63
2 changed files with 9 additions and 1 deletions

View file

@ -322,6 +322,9 @@ porting:
David Arnstein contributed a patch for NetBSD 5.1 including stdbool.h David Arnstein contributed a patch for NetBSD 5.1 including stdbool.h
support and appropriate files in Config/ support and appropriate files in Config/
Lauri Tirkkonen contributed a patch regarding netinet/if_ether.h
on Illumos
new features: new features:
added option max-children that limits the number of concurrent child added option max-children that limits the number of concurrent child
processes. Thanks to Sam Liddicott for providing the patch. processes. Thanks to Sam Liddicott for providing the patch.

View file

@ -313,7 +313,12 @@ if test "$WITH_INTERFACE"; then
AC_CHECK_HEADER(netinet/if_ether.h, AC_CHECK_HEADER(netinet/if_ether.h,
AC_DEFINE(HAVE_NETINET_IF_ETHER_H), AC_DEFINE(HAVE_NETINET_IF_ETHER_H),
[WITH_INTERFACE=; [WITH_INTERFACE=;
AC_MSG_WARN([include file netinet/if_ether.h not found, disabling interface])]) AC_MSG_WARN([include file netinet/if_ether.h not found, disabling interface])],
[AC_INCLUDES_DEFAULT
#if HAVE_NET_IF_H && HAVE_NETINET_IN_H
#include <net/if.h>
#include <netinet/in.h>
#endif])
fi fi
if test "$WITH_INTERFACE"; then if test "$WITH_INTERFACE"; then
AC_DEFINE(WITH_INTERFACE) AC_DEFINE(WITH_INTERFACE)