Skip to content

Commit 0d3d926

Browse files
committed
config.mk: use -D_DEFAULT_SOURCE
1 parent c8f45b2 commit 0d3d926

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ INCS = -I${X11INC} -I${FT2INC}
2929
LIBS = -L${X11LIB} -lX11 -lm -lrt -lutil ${FT2LIB} -lfreetype
3030

3131
# flags
32-
CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -DVERSION=\"${VERSION}\" \
33-
${INCS}
32+
CPPFLAGS = -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" ${INCS}
3433
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wformat
3534
LDFLAGS = ${LIBS}
3635

0 commit comments

Comments
 (0)