diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2016-03-08 20:05:33 +0800 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-03-08 10:05:44 -0500 |
commit | a2c3c34b44b866440a152511e682c98879ee13b7 (patch) | |
tree | 4a0c542a15c840a591308f16daf92941e75994a4 /include | |
parent | 939ce0bae68b682b57675f65c901653c1a094ebb (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.in | 3 |
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_ */ |