From 3bf492d2e9e9e2a410c5e67d46654723714323e8 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 4 May 2012 17:44:27 +0200 Subject: [PATCH] compile with -D_GNU_SOURCE to get all relevant prototypes --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3aeae02..58a27f4 100644 --- a/Makefile +++ b/Makefile @@ -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`