summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-08-15 08:56:47 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-08-17 15:05:38 +0800
commite041ecd308de6352191767b4fc9592a4b564ffd8 (patch)
treebaad9e9fe143944b94bdbae7cc0dc395c0819b96
parentfde0546585e2b68b3e5e44737ebab58cccb5b97e (diff)
downloadgdk-pixbuf-e041ecd308de6352191767b4fc9592a4b564ffd8.tar.gz
build: Check for sys/resource.h in Meson as well
The autotools builds checked for sys/resource.h, so we ought to check for that as well in the Meson build files. https://bugzilla.gnome.org/show_bug.cgi?id=785767
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 1691b08de..5006d76e2 100644
--- a/meson.build
+++ b/meson.build
@@ -60,7 +60,8 @@ gio_dep = dependency('gio-2.0', version: glib_req_version)
gdk_pixbuf_conf = configuration_data()
check_headers = [
- 'unistd.h'
+ 'unistd.h',
+ 'sys/resource.h'
]
foreach h: check_headers