summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-01-07 20:39:24 -0500
committerMax Rees <maxcrees@me.com>2018-01-07 20:39:24 -0500
commitbb9b759150485ed2da4ac795afeefa9de789381b (patch)
tree2cea7072c64dfc46efb8305b2c06027225abedf6
parent0911570bda04e4da541ef095bcdc8cc5cfd57412 (diff)
Adjust CFLAGS to fix compilation on musl
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 394a13f..8769b1d 100644
--- a/config.mk
+++ b/config.mk
@@ -38,7 +38,7 @@ CFLAGS ?= -g -O2
CFLAGS += -Wall -Wextra -pedantic
# Settings for glibc >= 2.19 - may need to be adjusted for other systems
-CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500
+CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
ifeq (${curl},1)
CFLAGS += -DHAVE_LIBCURL