Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 10:07:26 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272980 - head/contrib/netbsd-tests/lib/libc/stdlib
Message-ID:  <201410121007.s9CA7Qve055726@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 "



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