summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Beich <jbeich@freebsd.org>2017-07-07 16:31:48 +0200
committerAdam Jackson <ajax@redhat.com>2018-02-02 15:28:46 -0500
commit1e23f03dd5fb6c981ef6d64c084f72fc6820ed71 (patch)
tree446f64e1090d1ebce2e60e55b0f02fd7225d2e14 /include
parent3e3b8a40fee77d1af6ca0c2946ff276d555ddea8 (diff)
shm, xwayland: prefer atomic close-on-exec without O_TMPFILE
Signed-off-by: Jan Beich <jbeich@FreeBSD.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in3
-rw-r--r--include/meson.build1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 44a29a69a..f12df74da 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -134,6 +134,9 @@
/* Define to 1 if you have the <linux/fb.h> header file. */
#undef HAVE_LINUX_FB_H
+/* Define to 1 if you have the `mkostemp' function. */
+#undef HAVE_MKOSTEMP
+
/* Define to 1 if you have the `mmap' function. */
#undef HAVE_MMAP
diff --git a/include/meson.build b/include/meson.build
index c7830ef73..00ec0573d 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -119,6 +119,7 @@ conf_data.set('HAVE_GETPEEREID', cc.has_function('getpeereid'))
conf_data.set('HAVE_GETPEERUCRED', cc.has_function('getpeerucred'))
conf_data.set('HAVE_GETPROGNAME', cc.has_function('getprogname'))
conf_data.set('HAVE_GETZONEID', cc.has_function('getzoneid'))
+conf_data.set('HAVE_MKOSTEMP', cc.has_function('mkostemp'))
conf_data.set('HAVE_MMAP', cc.has_function('mmap'))
conf_data.set('HAVE_POLL', cc.has_function('poll'))
conf_data.set('HAVE_POLLSET_CREATE', cc.has_function('pollset_create'))