summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-11-15 09:31:21 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-11-15 09:31:21 +0100
commit16e1afa9730ff31e83cdaf265224e4d4d9d6d576 (patch)
tree3635a784112896ab668adf2d11c203bcb89533d0 /ConfigureChecks.cmake
parent2b6ca736e4caf3258c9bcb4f117222a9cefaf354 (diff)
downloadsocket_wrapper-16e1afa9730ff31e83cdaf265224e4d4d9d6d576.tar.gz
socket_wrapper-16e1afa9730ff31e83cdaf265224e4d4d9d6d576.tar.xz
socket_wrapper-16e1afa9730ff31e83cdaf265224e4d4d9d6d576.zip
cmake: Fix ioctl configure check.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b74407c..2aaf718 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -104,9 +104,9 @@ check_prototype_definition(accept
HAVE_ACCEPT_PSOCKLEN_T)
check_prototype_definition(ioctl
- "int accept(int s, int r, ...)"
+ "int ioctl(int s, int r, ...)"
"-1"
- "unistd.h"
+ "sys/ioctl.h"
HAVE_IOCTL_INT)
# IPV6