about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2020-03-25 08:53:10 +0000
committerRory Bradford <roryrjb@gmail.com>2020-03-25 08:53:10 +0000
commita1659ec0413478122a81f3a901e76a2c246b6d30 (patch)
treeb4b4defb55313bbeffbe25e4f5ac8ea3d8a21db9
parent44d641cc5769838275842134c2e6fbad799b9834 (diff)
downloadrf-a1659ec0413478122a81f3a901e76a2c246b6d30.tar.gz
Move _DEFAULT_SOURCE to Makefile
Also remove deprecated _BSD_SOURCE.

Signed-off-by: Rory Bradford <roryrjb@gmail.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f8b7ba..95202dd 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ CFLAGS += -ansi \
 	  -fstack-protector-strong \
 	  -fpie \
 	  -D_FORTIFY_SOURCE=2 \
+	  -D_DEFAULT_SOURCE \
 	  -DVERSION='"$(VERSION)"' \
 	  -DNAME='"$(BIN)"' \
 	  $(INC) $(LIBS)