From 5d1a8cd88b396e895fdda9059a3795303747aaa3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 6 Nov 2016 11:57:52 +0100 Subject: cmake: Check for io.h on Windows Signed-off-by: Andreas Schneider --- ConfigureChecks.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index f290a6f1..e18965a5 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -65,6 +65,8 @@ check_include_file(arpa/inet.h HAVE_ARPA_INET_H) check_include_file(byteswap.h HAVE_BYTESWAP_H) if (WIN32) + check_include_file(io.h HAVE_IO_H) + check_include_files("winsock2.h;ws2tcpip.h;wspiapi.h" HAVE_WSPIAPI_H) if (NOT HAVE_WSPIAPI_H) message(STATUS "WARNING: Without wspiapi.h, this build will only work on Windows XP and newer versions") -- cgit v1.2.3