Fixing the compile warning for setenv. - tabbed - tab interface for application… | |
git clone git://git.suckless.org/tabbed | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0a5c7074888161e3a3c040c0cc027c3ededd02af | |
parent a7d7358a2cc159127989d835792535f2ca95c43a | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 25 Dec 2012 23:53:02 +0100 | |
Fixing the compile warning for setenv. | |
Diffstat: | |
M config.mk | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
@@ -12,7 +12,7 @@ INCS = -I. -I/usr/include | |
LIBS = -L/usr/lib -lc -lX11 | |
# flags | |
-CPPFLAGS = -DVERSION=\"${VERSION}\" | |
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE | |
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} | |
LDFLAGS = -g ${LIBS} | |