aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index df6f2bd2..a0c79e30 100644
--- a/meson.build
+++ b/meson.build
@@ -186,10 +186,10 @@ else
186 dep_rt = [] 186 dep_rt = []
187endif 187endif
188dep_m = cc.find_library('m', required : false) 188dep_m = cc.find_library('m', required : false)
189if cc.has_header('sys/sysctl.h') 189if cc.compiles('#include <sys/sysctl.h>', name : 'sys/sysctl.h works')
190 config.set10('HAVE_SYS_SYSCTL_H', true) 190 config.set10('HAVE_SYS_SYSCTL_H', true)
191endif 191endif
192if cc.has_header('sys/select.h') 192if cc.compiles('#include <sys/select.h>', name : 'sys/select.h works')
193 config.set10('HAVE_SYS_SELECT_H', true) 193 config.set10('HAVE_SYS_SELECT_H', true)
194endif 194endif
195if cc.has_header_symbol('sys/sysmacros.h', 'major') 195if cc.has_header_symbol('sys/sysmacros.h', 'major')