Fix build on illumos.
Этот коммит содержится в:
родитель
bcd038dd93
Коммит
165d10de0f
12
configure.ac
12
configure.ac
@ -68,6 +68,18 @@ echo "nanosleep() required for timing operations."
|
|||||||
exit 1
|
exit 1
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# On illumos we need -lsocket
|
||||||
|
AC_SEARCH_LIBS(socket, [socket], [], [
|
||||||
|
echo "socket()"
|
||||||
|
exit 1
|
||||||
|
])
|
||||||
|
|
||||||
|
# On illumos inet_ntop in in -lnsl
|
||||||
|
AC_SEARCH_LIBS(inet_ntop, [nsl], [], [
|
||||||
|
echo "inet_ntop()"
|
||||||
|
exit 1
|
||||||
|
])
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
|
|
||||||
#elif defined(__SunOS)
|
#elif defined(__SunOS) || defined(__sun)
|
||||||
|
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user