summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-06-08 10:32:28 +0200
committerStefan Metzmacher <metze@samba.org>2020-06-19 21:16:34 +0200
commit300de6e099ea82ee5361918de8c3abb389e0782d (patch)
tree2cde84e3519a00ede6633ac4e932ad26b5487124 /ConfigureChecks.cmake
parentbbc1d654cae9197fa3782e8ea8e1aaa9fdf0cfb0 (diff)
downloadsocket_wrapper-300de6e099ea82ee5361918de8c3abb389e0782d.tar.gz
socket_wrapper-300de6e099ea82ee5361918de8c3abb389e0782d.tar.xz
socket_wrapper-300de6e099ea82ee5361918de8c3abb389e0782d.zip
socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports it
This just implements a few basics, which are required by Samba. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Stefan Metzmacher <metze@samba.org>
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 4d5adc4..4a2f55e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -43,6 +43,7 @@ int main(void){ return 0; }
endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2)
# HEADERS
+check_include_file(netinet/tcp_fsm.h HAVE_NETINET_TCP_FSM_H)
check_include_file(sys/filio.h HAVE_SYS_FILIO_H)
check_include_file(sys/signalfd.h HAVE_SYS_SIGNALFD_H)
check_include_file(sys/eventfd.h HAVE_SYS_EVENTFD_H)