mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
Fix compilation error on musl
_XOPEN_SOURCE is needed for the strings.h ffs function on the musl libc implementation
This commit is contained in:
parent
bcd19a8824
commit
a31fa678e5
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#define _XOPEN_SOURCE 700
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
Loading…
Reference in a new issue