Skip to content

Commit 694c776

Browse files
committed
Add missing check for sys/wait.h in meson build
1 parent d10e424 commit 694c776

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config.h.meson

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#mesondefine HAVE_STRING_H
88
#mesondefine HAVE_SYS_STAT_H
99
#mesondefine HAVE_SYS_TYPES_H
10+
#mesondefine HAVE_SYS_WAIT_H
1011
#mesondefine HAVE_UNISTD_H
1112
#mesondefine HAVE_TM_GMTOFF
1213
#mesondefine HAVE_TIMEZONE

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ compiler = meson.get_compiler('c')
77
conf = configuration_data()
88
conf.set('version', meson.project_version())
99

10-
check_headers = ['dlfcn.h', 'inttypes.h', 'stdint.h', 'stdlib.h', 'string.h', 'sys/stat.h', 'sys/types.h', 'unistd.h']
10+
check_headers = ['dlfcn.h', 'inttypes.h', 'stdint.h', 'stdlib.h', 'string.h', 'sys/stat.h', 'sys/types.h', 'sys/wait.h', 'unistd.h']
1111
foreach header_name : check_headers
1212
if compiler.has_header(header_name)
1313
conf.set('HAVE_' + header_name.underscorify().to_upper(), 1)

0 commit comments

Comments
 (0)