Use _DEFAULT_SOURCE instead of _BSD_SOURCE - sdhcp - simple dhcp client
HTML git clone git://git.codemadness.org/sdhcp
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 219b8fe1c38097c37de89b0c8c2aa771ebe1daff
DIR parent a8cbeb12e4df31ea50f5effd25eacfe8145c538e
HTML Author: Michael Forney <mforney@mforney.org>
Date: Wed, 14 Nov 2018 18:40:34 -0800
Use _DEFAULT_SOURCE instead of _BSD_SOURCE
Diffstat:
M config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/config.mk b/config.mk
@@ -7,6 +7,6 @@ MANPREFIX = $(PREFIX)/share/man
CC = cc
LD = $(CC)
-CPPFLAGS = -D_BSD_SOURCE
+CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS = -Wall -Wextra -pedantic -std=c99 $(CPPFLAGS)
LDFLAGS = -s