Module Name:    src
Committed By:   roy
Date:           Mon May  9 10:19:26 UTC 2016

Modified Files:
        src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile

Log Message:
Define _OPENBSD_SOURCE so dhcpcd can access reallocarray(3).


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.30 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.31
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.30	Sun Apr 10 21:06:54 2016
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile	Mon May  9 10:19:26 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2016/04/10 21:06:54 roy Exp $
+# $NetBSD: Makefile,v 1.31 2016/05/09 10:19:26 roy Exp $
 #
 
 PROG=		dhcpcd
@@ -10,7 +10,7 @@ SRCS+=		if-bsd.c
 WARNS?=		6
 USE_FORT?=	yes	# network client (local server)
 
-CPPFLAGS+=	-DHAVE_CONFIG_H
+CPPFLAGS+=	-DHAVE_CONFIG_H -D_OPENBSD_SOURCE
 
 .include <bsd.own.mk>
 

Reply via email to