mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
corrected check for net/if.h
This commit is contained in:
parent
1c302dc23c
commit
eccce7542e
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
CHANGES
|
@ -59,6 +59,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
|
||||
|
||||
porting:
|
||||
Cedril Priscal ported socat to Android (using Googles cross compiler).
|
||||
The port includes the socat_buildscript_for_android.sh script
|
||||
|
|
|
@ -65,7 +65,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