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:
Julio Galvan 2018-11-09 04:27:06 +00:00 committed by GitHub
parent bcd19a8824
commit a31fa678e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
#define _XOPEN_SOURCE 700
#include <assert.h>
#include <stdlib.h>
#include <strings.h>