Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd Define _OPENBSD_SOURCE so dh...



details:   https://anonhg.NetBSD.org/src/rev/21fc8a950e5b
branches:  trunk
changeset: 815272:21fc8a950e5b
user:      roy <roy%NetBSD.org@localhost>
date:      Mon May 09 10:19:26 2016 +0000

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

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3031a3e26c1b -r 21fc8a950e5b external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Mon May 09 10:15:59 2016 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Mon May 09 10:19:26 2016 +0000
@@ -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 @@
 WARNS?=                6
 USE_FORT?=     yes     # network client (local server)
 
-CPPFLAGS+=     -DHAVE_CONFIG_H
+CPPFLAGS+=     -DHAVE_CONFIG_H -D_OPENBSD_SOURCE
 
 .include <bsd.own.mk>
 



Home | Main Index | Thread Index | Old Index