mirror of
https://github.com/moparisthebest/socat
synced 2024-12-22 06:58:47 -05:00
Include netinet/if_ether.h on Illumos
This commit is contained in:
parent
05c0b2873e
commit
59658d8267
3
CHANGES
3
CHANGES
@ -110,6 +110,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
|
||||||
|
|
||||||
testing:
|
testing:
|
||||||
Do not distribute testcert.conf with socat source but generate it
|
Do not distribute testcert.conf with socat source but generate it
|
||||||
(and new testcert6.conf) during test.sh run.
|
(and new testcert6.conf) during test.sh run.
|
||||||
|
@ -297,7 +297,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)
|
||||||
|
Loading…
Reference in New Issue
Block a user