From a1659ec0413478122a81f3a901e76a2c246b6d30 Mon Sep 17 00:00:00 2001 From: Rory Bradford Date: Wed, 25 Mar 2020 08:53:10 +0000 Subject: Move _DEFAULT_SOURCE to Makefile Also remove deprecated _BSD_SOURCE. Signed-off-by: Rory Bradford --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') 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) -- cgit 1.4.1-2-gfad0