[PATCH] D18825: [CMake] Check for sys/types.h in config-ix.cmake

Jeroen Ketema via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 07:42:29 PDT 2016


jketema created this revision.
jketema added a reviewer: chandlerc.
jketema added a subscriber: llvm-commits.

`sys/types.h` has a related define in `config.h.cmake`, but is never checked for in CMake. Bring this in sync.

http://reviews.llvm.org/D18825

Files:
  cmake/config-ix.cmake

Index: cmake/config-ix.cmake
===================================================================
--- cmake/config-ix.cmake
+++ cmake/config-ix.cmake
@@ -67,6 +67,7 @@
 check_include_file(sys/resource.h HAVE_SYS_RESOURCE_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/types.h HAVE_SYS_TYPES_H)
 check_include_file(sys/uio.h HAVE_SYS_UIO_H)
 check_include_file(termios.h HAVE_TERMIOS_H)
 check_include_file(unistd.h HAVE_UNISTD_H)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18825.52794.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160406/f44f77e4/attachment.bin>


More information about the llvm-commits mailing list