fwcutter/make: Avoid _DEFAULT_SOURCE warning master
authorMichael Buesch <m@bues.ch>
Wed, 13 Sep 2017 16:05:19 +0000 (18:05 +0200)
committerMichael Buesch <m@bues.ch>
Wed, 13 Sep 2017 16:06:00 +0000 (18:06 +0200)
Signed-off-by: Michael Buesch <m@bues.ch>
fwcutter/Makefile

index 264b97d540d1e8cdef260240871a4ee2761f482f..5a5b8ec7e16563fd5143b3db1df13f9f9fa99398 100644 (file)
@@ -17,7 +17,7 @@ endif
 
 PREFIX ?= /usr/local
 CFLAGS         ?= -Os -fomit-frame-pointer
 
 PREFIX ?= /usr/local
 CFLAGS         ?= -Os -fomit-frame-pointer
-CFLAGS         += -std=c99 -Wall -pedantic -D_BSD_SOURCE
+CFLAGS         += -std=c99 -Wall -pedantic -D_BSD_SOURCE -D_DEFAULT_SOURCE
 LDFLAGS                ?=
 
 SRCS = fwcutter.c md5.c
 LDFLAGS                ?=
 
 SRCS = fwcutter.c md5.c