aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-12-03 13:31:28 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-12-03 13:44:02 +0100
commit3896aa43ffe5d4e55f42065529ecaa8fdb39ed04 (patch)
treee3f48f7baf5aec95da17eb54cad28b1963fdae74 /ConfigureChecks.cmake
parentda8d44ccbaab21c9dedc258b6572f5514c6c9233 (diff)
downloadlibssh-3896aa43ffe5d4e55f42065529ecaa8fdb39ed04.tar.gz
libssh-3896aa43ffe5d4e55f42065529ecaa8fdb39ed04.tar.xz
libssh-3896aa43ffe5d4e55f42065529ecaa8fdb39ed04.zip
BUG 96: Guard ntohll() and htonll prototypes correctly.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index c5dd3d29..dba176ed 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -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")