C++: double underscores are reserved
[awesomized/libmemcached] / CMake / _Include.cmake
index a419d8dfdc0b023fff9106e7b3ef8635807764f9..c75c741f9a8eaa4a304fa2a81fd94d42780b551a 100644 (file)
@@ -121,6 +121,8 @@ check_include(dlfcn.h)
 check_include(getopt.h)
 check_include(libgen.h)
 check_include(netdb.h)
+check_include(netinet/in.h)
+check_include(netinet/tcp.h)
 check_include(poll.h)
 check_include(strings.h)
 check_include(sys/poll.h)
@@ -135,6 +137,7 @@ check_type(ssize_t sys/types.h)
 check_type("struct msghdr" sys/socket.h)
 
 check_cxx_symbol(abi::__cxa_demangle cxxabi.h)
+check_symbol(ERESTART errno.h)
 check_symbol(fcntl fcntl.h)
 check_symbol(gettimeofday sys/time.h)
 check_symbol(htonll arpa/inet.h)