diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-06-08 10:32:28 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-06-22 16:45:19 +0200 |
commit | c73d8a43c07ffbd9f4a7010b99363ffa53b4723c (patch) | |
tree | 50b6906ae371a2b91b28588b18e1d7d910354307 /ConfigureChecks.cmake | |
parent | 1c20b9596422c9cb92fc539493df45b03d91457b (diff) | |
download | socket_wrapper-c73d8a43c07ffbd9f4a7010b99363ffa53b4723c.tar.gz socket_wrapper-c73d8a43c07ffbd9f4a7010b99363ffa53b4723c.tar.xz socket_wrapper-c73d8a43c07ffbd9f4a7010b99363ffa53b4723c.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>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 300de6e099ea82ee5361918de8c3abb389e0782d)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 1 |
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) |