summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-03-08 20:05:33 +0800
committerAdam Jackson <ajax@redhat.com>2016-03-08 10:05:44 -0500
commita2c3c34b44b866440a152511e682c98879ee13b7 (patch)
tree4a0c542a15c840a591308f16daf92941e75994a4 /include
parent939ce0bae68b682b57675f65c901653c1a094ebb (diff)
xwayland: Correctly detect whether posix_fallocate exists
We had HAVE_POSIX_FALLOCATE checks, but no such macros were ever defined anywhere. This commit makes it so that this macro is defined if the posix_fallocate is detected during configure. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 940d2b7e2..a164c15b5 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -521,4 +521,7 @@
/* Have setitimer support */
#undef HAVE_SETITIMER
+/* Have posix_fallocate() */
+#undef HAVE_POSIX_FALLOCATE
+
#endif /* _DIX_CONFIG_H_ */