aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-11-25 19:20:35 -0800
committerChris Robinson <[email protected]>2012-11-25 19:20:35 -0800
commit0ca7ab2cf81d270ccc9fbaeecbd3c21361e5f82c (patch)
tree9c54d8dd04f65b760d8a9afc603b09124f320d4a /CMakeLists.txt
parenta0c39989f58f80f0ce4d97c4a2d62dffd1046d52 (diff)
Explicitly check for malloc.h
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 678b0f33..dfdb8bef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -246,6 +246,7 @@ ENDIF()
CHECK_C_SOURCE_COMPILES("int foo(const char *str, ...) __attribute__((format(printf, 1, 2)));
int main() {return 0;}" HAVE_GCC_FORMAT)
+CHECK_INCLUDE_FILE(malloc.h HAVE_MALLOC_H)
CHECK_INCLUDE_FILE(cpuid.h HAVE_CPUID_H)
CHECK_INCLUDE_FILE(fenv.h HAVE_FENV_H)
CHECK_INCLUDE_FILE(float.h HAVE_FLOAT_H)