diff options
author | Rory Bradford <roryrjb@gmail.com> | 2020-03-25 08:53:10 +0000 |
---|---|---|
committer | Rory Bradford <roryrjb@gmail.com> | 2020-03-25 08:53:10 +0000 |
commit | a1659ec0413478122a81f3a901e76a2c246b6d30 (patch) | |
tree | b4b4defb55313bbeffbe25e4f5ac8ea3d8a21db9 | |
parent | 44d641cc5769838275842134c2e6fbad799b9834 (diff) | |
download | rf-a1659ec0413478122a81f3a901e76a2c246b6d30.tar.gz |
Move _DEFAULT_SOURCE to Makefile
Also remove deprecated _BSD_SOURCE. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
-rw-r--r-- | Makefile | 1 |
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) |