svn commit: r272980 - head/contrib/netbsd-tests/lib/libc/stdlib

Garrett Cooper ngie at FreeBSD.org
Sun Oct 12 10:07:27 UTC 2014


Author: ngie
Date: Sun Oct 12 10:07:26 2014
New Revision: 272980
URL: https://svnweb.freebsd.org/changeset/base/272980

Log:
  #include libutil.h for fparseln on FreeBSD
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c

Modified: head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c	Sun Oct 12 10:04:59 2014	(r272979)
+++ head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c	Sun Oct 12 10:07:26 2014	(r272980)
@@ -36,6 +36,9 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#if defined(__FreeBSD__)
+#include <libutil.h>
+#endif
 
 #define SKIPWS(p)	while (isspace((int)(*p))) p++
 #define	WS	"\t\n "


More information about the svn-src-head mailing list