compile with -D_GNU_SOURCE to get all relevant prototypes

This commit is contained in:
Christian Neukirchen 2012-05-04 17:44:27 +02:00
parent 601779351c
commit 3bf492d2e9

View File

@ -16,7 +16,7 @@ OBJS= calmwm.o screen.o xmalloc.o client.o menu.o \
CPPFLAGS+= `pkg-config --cflags fontconfig x11 xft xinerama xrandr`
CFLAGS= -Wall -O2 -g
CFLAGS= -Wall -O2 -g -D_GNU_SOURCE
LDFLAGS+= `pkg-config --libs fontconfig x11 xft xinerama xrandr`