From bb9b759150485ed2da4ac795afeefa9de789381b Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 7 Jan 2018 20:39:24 -0500 Subject: Adjust CFLAGS to fix compilation on musl --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.mk') 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 -- cgit v1.2.3