Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 07:46:03 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r312132 - projects/netbsd-tests-upstream-01-2017/lib/libnetbsd
Message-ID:  <201701140746.v0E7k3i8033221@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Jan 14 07:46:03 2017
New Revision: 312132
URL: https://svnweb.freebsd.org/changeset/base/312132

Log:
  Add stdio.h #include for fparseln
  
  fparseln on FreeBSD requires stdio.h, then libutil.h, whereas NetBSD only
  requires util.h

Modified:
  projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/util.h

Modified: projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/util.h
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/util.h	Sat Jan 14 07:39:07 2017	(r312131)
+++ projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/util.h	Sat Jan 14 07:46:03 2017	(r312132)
@@ -30,9 +30,10 @@
  * SUCH DAMAGE.
  */
 
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef _LIBNETBSD_UTIL_H_
+#define _LIBNETBSD_UTIL_H_
 
+#include <stdio.h>	/* for fparseln(3) */
 #include <libutil.h>
 
 char	*flags_to_string(u_long flags, const char *def);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701140746.v0E7k3i8033221>