aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hura <dev@creatingtrouble.com>2017-11-07 19:32:14 +1100
committerJoe Hura <dev@creatingtrouble.com>2017-11-07 19:32:14 +1100
commit0b04762c94346314c3f0ad67c04f8fc1a0c1d6a0 (patch)
treebada17b64949d26a644e3e29bb88cfd72176e197
parent9e7847ed261636b5a505cbc9be52946f7d668724 (diff)
downloadjansson-0b04762c94346314c3f0ad67c04f8fc1a0c1d6a0.zip
jansson-0b04762c94346314c3f0ad67c04f8fc1a0c1d6a0.tar.gz
jansson-0b04762c94346314c3f0ad67c04f8fc1a0c1d6a0.tar.bz2
Fixes akheron/jansson#373
'sys/time.h' is a typo, it should read: 'sys/types.h'
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 418d8b3..68cb35b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,7 +138,7 @@ check_include_files (unistd.h HAVE_UNISTD_H)
check_include_files (sys/param.h HAVE_SYS_PARAM_H)
check_include_files (sys/stat.h HAVE_SYS_STAT_H)
check_include_files (sys/time.h HAVE_SYS_TIME_H)
-check_include_files (sys/time.h HAVE_SYS_TYPES_H)
+check_include_files (sys/types.h HAVE_SYS_TYPES_H)
check_function_exists (close HAVE_CLOSE)
check_function_exists (getpid HAVE_GETPID)