From 0b04762c94346314c3f0ad67c04f8fc1a0c1d6a0 Mon Sep 17 00:00:00 2001 From: Joe Hura Date: Tue, 7 Nov 2017 19:32:14 +1100 Subject: [PATCH] Fixes akheron/jansson#373 'sys/time.h' is a typo, it should read: 'sys/types.h' --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)