[PATCH xserver] xwayland: Correctly detect whether posix_fallocate exists

Julien Cristau jcristau at debian.org
Tue Mar 8 13:15:42 UTC 2016


On Tue, Mar  8, 2016 at 20:05:33 +0800, Jonas Ådahl wrote:

> 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 at gmail.com>
> ---
>  configure.ac               | 3 ++-
>  hw/xwayland/xwayland-shm.c | 4 ++++
>  include/dix-config.h.in    | 3 +++
>  3 files changed, 9 insertions(+), 1 deletion(-)
> 
Reviewed-by: Julien Cristau <jcristau at debian.org>

Cheers,
Julien


More information about the xorg-devel mailing list