[llvm] r265648 - [CMake] Check for sys/types.h in config-ix.cmake

Jeroen Ketema via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 01:36:14 PDT 2016


Author: jketema
Date: Thu Apr  7 03:36:13 2016
New Revision: 265648

URL: http://llvm.org/viewvc/llvm-project?rev=265648&view=rev
Log:
[CMake] Check for sys/types.h in config-ix.cmake

`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

Modified:
    llvm/trunk/cmake/config-ix.cmake

Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=265648&r1=265647&r2=265648&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Thu Apr  7 03:36:13 2016
@@ -67,6 +67,7 @@ check_include_file(sys/param.h HAVE_SYS_
 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)




More information about the llvm-commits mailing list