build-sys: Add some missing header/function checks to meson build
authorArun Raghavan <arun@arunraghavan.net>
Sun, 20 May 2018 02:59:02 +0000 (08:29 +0530)
committerArun Raghavan <git@arunraghavan.net>
Mon, 23 Jul 2018 14:08:37 +0000 (19:38 +0530)
meson.build

index 9308aa9..08a5fa9 100644 (file)
@@ -57,6 +57,7 @@ cdata.set_quoted('DESKTOPFILEDIR', join_paths(datadir, 'applications'))
 check_headers = [
   'arpa/inet.h',
   'cpuid.h',
+  'execinfo.h',
   'grp.h',
   'langinfo.h',
   'locale.h',
@@ -78,6 +79,7 @@ check_headers = [
   'sys/select.h',
   'sys/socket.h',
   'sys/un.h',
+  'sys/wait.h',
   'valgrind/memcheck.h',
   'xlocale.h',
 ]
@@ -104,6 +106,8 @@ check_functions = [
   'fork',
   'fstat',
   'getaddrinfo',
+  'getgrgid_r',
+  'getpwnam_r',
   'gettimeofday',
   'getuid',
   'lstat',