[CMake] Check for sys/types.h in config-ix.cmake
authorJeroen Ketema <j.ketema@imperial.ac.uk>
Thu, 7 Apr 2016 08:36:13 +0000 (08:36 +0000)
committerJeroen Ketema <j.ketema@imperial.ac.uk>
Thu, 7 Apr 2016 08:36:13 +0000 (08:36 +0000)
`sys/types.h` has a related define in `config.h.cmake`, but was never
checked for in CMake. Sync this.

Differential Revision: http://reviews.llvm.org/D18825

llvm-svn: 265648

llvm/cmake/config-ix.cmake

index dd96b5c..7d52775 100755 (executable)
@@ -67,6 +67,7 @@ check_include_file(sys/param.h HAVE_SYS_PARAM_H)
 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)