From acf26de3fa620c4433b5f1a479785700c113ecdc Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 14 Jan 2017 07:46:03 +0000 Subject: [PATCH] Add stdio.h #include for fparseln fparseln on FreeBSD requires stdio.h, then libutil.h, whereas NetBSD only requires util.h --- lib/libnetbsd/util.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/libnetbsd/util.h b/lib/libnetbsd/util.h index c7d32e132336..a2e59b0ed52e 100644 --- a/lib/libnetbsd/util.h +++ b/lib/libnetbsd/util.h @@ -30,9 +30,10 @@ * SUCH DAMAGE. */ -#ifndef _UTIL_H_ -#define _UTIL_H_ +#ifndef _LIBNETBSD_UTIL_H_ +#define _LIBNETBSD_UTIL_H_ +#include /* for fparseln(3) */ #include char *flags_to_string(u_long flags, const char *def);