aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <mathstuf@gmail.com>2012-04-04 22:37:07 -0400
committerGravatar Ben Boeckel <mathstuf@gmail.com>2012-04-04 22:37:07 -0400
commitac9de79eb312bfc31282d4cf9e4dde819bcaa75e (patch)
tree10aa27cf99379cc65a518617372257e99c26cb4a /Makefile
parenteba0f53e6f6a3a387ebd498387962a8fdfc8f3d8 (diff)
Add _BSD_SOURCE define
It's required for setenv and unsetenv.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 00a8f89..eef6ff7 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ ARCH:=$(shell uname -m)
COMMIT_HASH:=$(shell ./misc/hash.sh)
-CPPFLAGS += -DARCH=\"$(ARCH)\" -DCOMMIT=\"$(COMMIT_HASH)\"
+CPPFLAGS += -D_BSD_SOURCE -DARCH=\"$(ARCH)\" -DCOMMIT=\"$(COMMIT_HASH)\"
PKG_CFLAGS:=$(shell pkg-config --cflags $(REQ_PKGS))