From a31fa678e5b27d3c80ebcf2137fc324a88417a80 Mon Sep 17 00:00:00 2001 From: Julio Galvan Date: Fri, 9 Nov 2018 04:27:06 +0000 Subject: [PATCH] Fix compilation error on musl _XOPEN_SOURCE is needed for the strings.h ffs function on the musl libc implementation --- types/data_device/wlr_data_offer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/types/data_device/wlr_data_offer.c b/types/data_device/wlr_data_offer.c index c8fb9b3b..9847e07c 100644 --- a/types/data_device/wlr_data_offer.c +++ b/types/data_device/wlr_data_offer.c @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE 700 #include #include #include