summaryrefslogtreecommitdiff
path: root/build/cmake
diff options
context:
space:
mode:
authorBugra Gedik <bgedik@unscrambl.com>2018-01-21 09:43:49 -0800
committerJames E. King III <jking@apache.org>2018-03-12 06:55:14 -0400
commit8bcb7ac2be2f28e5fddfe578645c2aaa98b94717 (patch)
treecccf618a192e5a36441540b45293347fbcb9b146 /build/cmake
parent70b33fb6b48d62859a048cac1bec79cfadb2f310 (diff)
downloadthrift-8bcb7ac2be2f28e5fddfe578645c2aaa98b94717.tar.gz
THRIFT-4465: Fix C++ TNonblockingServer and THRIFT_EAGAIN issues
Client: cpp This closes #1497
Diffstat (limited to 'build/cmake')
-rw-r--r--build/cmake/ConfigureChecks.cmake3
-rw-r--r--build/cmake/config.h.in7
2 files changed, 7 insertions, 3 deletions
diff --git a/build/cmake/ConfigureChecks.cmake b/build/cmake/ConfigureChecks.cmake
index 12a50df91..e4793d41e 100644
--- a/build/cmake/ConfigureChecks.cmake
+++ b/build/cmake/ConfigureChecks.cmake
@@ -37,11 +37,12 @@ check_include_file(netinet/in.h HAVE_NETINET_IN_H)
check_include_file(stdint.h HAVE_STDINT_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(pthread.h HAVE_PTHREAD_H)
-check_include_file(sys/time.h HAVE_SYS_TIME_H)
+check_include_file(sys/ioctl.h HAVE_SYS_IOCTL_H)
check_include_file(sys/param.h HAVE_SYS_PARAM_H)
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H)
check_include_file(sys/socket.h HAVE_SYS_SOCKET_H)
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
+check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(sys/un.h HAVE_SYS_UN_H)
check_include_file(sys/poll.h HAVE_SYS_POLL_H)
check_include_file(sys/select.h HAVE_SYS_SELECT_H)
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in
index 083bc55ec..21561b265 100644
--- a/build/cmake/config.h.in
+++ b/build/cmake/config.h.in
@@ -100,8 +100,8 @@
/* Define to 1 if you have the <pthread.h> header file. */
#cmakedefine HAVE_PTHREAD_H 1
-/* Define to 1 if you have the <sys/time.h> header file. */
-#cmakedefine HAVE_SYS_TIME_H 1
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#cmakedefine HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#cmakedefine HAVE_SYS_PARAM_H 1
@@ -124,6 +124,9 @@
/* Define to 1 if you have the <sys/select.h> header file. */
#cmakedefine HAVE_SYS_SELECT_H 1
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine HAVE_SYS_TIME_H 1
+
/* Define to 1 if you have the <sched.h> header file. */
#cmakedefine HAVE_SCHED_H 1