From cd2ed3242770f4bad6fbae133837b98cab6fcea5 Mon Sep 17 00:00:00 2001 From: Peter Colberg Date: Wed, 30 Dec 2015 17:27:41 -0500 Subject: Include when detecting This is consistent with the actual use in `src/sockets/socket.cpp`. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 86b34bd..0117fdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,7 +131,7 @@ endif (WITH_GSM) check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(linux/types.h HAVE_LINUX_TYPES_H) -check_include_files("sys/time.h;linux/errqueue.h" HAVE_LINUX_ERRQUEUE_H) +check_include_files("sys/socket.h;linux/errqueue.h" HAVE_LINUX_ERRQUEUE_H) set(datadir "${CMAKE_INSTALL_PREFIX}/share/twinkle") configure_file(twinkle_config.h.in twinkle_config.h) -- cgit v1.2.3