Fix Tru64 socklen_t compile issue with example/direct_tcpip.c
Building libssh2-1.2.3 on Tru64 fails at line 48 and 166 because socklen_t isn't defined on Tru64 unless _POSIX_PII_SOCKET is defined. This patch updates configure.ac to add -D_POSIX_PII_SOCKET when building on Tru64 platform(s).
This commit is contained in:
parent
ea914c8b72
commit
10f5c70ac0
@ -41,6 +41,9 @@ case "$host" in
|
|||||||
;;
|
;;
|
||||||
*hpux*)
|
*hpux*)
|
||||||
;;
|
;;
|
||||||
|
*osf*)
|
||||||
|
CFLAGS="$CFLAGS -D_POSIX_PII_SOCKET"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user