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:
Julio Galvan 2018-11-27 06:52:48 +00:00 committed by GitHub
parent dbf8e1cead
commit cc93f563d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 200809L #define _POSIX_C_SOURCE 200809L
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>