mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Fix compilation error on musl
_XOPEN_SOURCE must be defined in order to use the POLL_IN definition on the musl libc implementation
This commit is contained in:
parent
dbf8e1cead
commit
cc93f563d9
1 changed files with 1 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#define _XOPEN_SOURCE 700
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue