1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

BUG 96: Guard ntohll() and htonll prototypes correctly.

This commit is contained in:
Andreas Schneider
2012-12-03 13:31:28 +01:00
parent da8d44ccba
commit 3896aa43ff
3 changed files with 10 additions and 1 deletions

View File

@ -138,6 +138,7 @@ if (UNIX)
check_function_exists(select HAVE_SELECT)
check_function_exists(cfmakeraw HAVE_CFMAKERAW)
check_function_exists(ntohll HAVE_NTOHLL)
check_function_exists(htonll HAVE_HTONLL)
endif (UNIX)
set(LIBSSH_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "libssh required system libraries")