mirror of
https://repo.or.cz/socat.git
synced 2024-12-23 07:52:32 +00:00
corrected check for net/if.h
This commit is contained in:
parent
800fd903b1
commit
2b1eabd058
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
CHANGES
|
@ -86,6 +86,9 @@ corrections:
|
|||
fixed a bug that could lead to error or socat crash after a client
|
||||
connection with option retry had been established
|
||||
|
||||
fixed configure.in bug on net/if.h check that caused IF_NAMESIZE to be
|
||||
undefined
|
||||
|
||||
docu mentions option so-bindtodev but correct name is so-bindtodevice.
|
||||
Thanks to Jim Zimmerman for reporting.
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ AC_CHECK_HEADERS(netinet/ip.h, [], [], [AC_INCLUDES_DEFAULT
|
|||
#include <netinet/in_systm.h>
|
||||
#endif]) # Solaris prerequisites for netinet/ip.h
|
||||
AC_CHECK_HEADERS(netinet/tcp.h)
|
||||
AC_CHECK_HEADER(net/if.h, [], [], [AC_INCLUDES_DEFAULT
|
||||
AC_CHECK_HEADER(net/if.h, AC_DEFINE(HAVE_NET_IF_H), [], [AC_INCLUDES_DEFAULT
|
||||
#if HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif]) # Mac OS X requires including sys/socket.h
|
||||
|
|
Loading…
Reference in a new issue