diff --git a/CMakeLists.txt b/CMakeLists.txt index e76fb1486..7c6bc268b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,6 @@ check_include_file_cxx (strings.h HAVE_STRINGS_H) check_include_file_cxx (sys/stat.h HAVE_SYS_STAT_H) check_include_file_cxx (sys/syscall.h HAVE_SYS_SYSCALL_H) check_include_file_cxx (sys/time.h HAVE_SYS_TIME_H) -check_include_file_cxx (sys/types.h HAVE_SYS_TYPES_H) check_include_file_cxx (sys/utsname.h HAVE_SYS_UTSNAME_H) check_include_file_cxx (sys/wait.h HAVE_SYS_WAIT_H) check_include_file_cxx (syscall.h HAVE_SYSCALL_H) @@ -265,12 +264,6 @@ else (HAVE_LIB_GFLAGS) set (ac_cv_have_libgflags 0) endif (HAVE_LIB_GFLAGS) -if (HAVE_SYS_TYPES_H) - set (ac_cv_have_systypes_h 1) -else (HAVE_SYS_TYPES_H) - set (ac_cv_have_systypes_h 0) -endif (HAVE_SYS_TYPES_H) - if (HAVE_SSIZE_T) set (ac_cv_have_ssize_t 1) else (HAVE_SSIZE_T) diff --git a/src/config.h.cmake.in b/src/config.h.cmake.in index 70440971d..ff099cd98 100644 --- a/src/config.h.cmake.in +++ b/src/config.h.cmake.in @@ -85,9 +85,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_TIME_H -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H} - /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_UCONTEXT_H diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index f213c8837..7fbc08feb 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -84,9 +84,6 @@ // that's because they were constructed that way at ./configure time. // Look at logging.h.in to see how they're calculated (based on your config). #include // the normal place uint16_t is defined -#if @ac_cv_have_systypes_h@ -#include // the normal place u_int16_t is defined -#endif #if @ac_cv_have_libgflags@ #include