diff options
author | Julio Galvan <julio641742@users.noreply.github.com> | 2018-11-09 04:27:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 04:27:06 +0000 |
commit | a31fa678e5b27d3c80ebcf2137fc324a88417a80 (patch) | |
tree | ed2f3005561bf3ceb9df10d66068d81e5c3d932b | |
parent | bcd19a8824588adeafdae84114b83cac05a45065 (diff) |
Fix compilation error on musl
_XOPEN_SOURCE is needed for the strings.h ffs function on the musl libc implementation
-rw-r--r-- | types/data_device/wlr_data_offer.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <assert.h> #include <stdlib.h> #include <strings.h> |