summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-12 10:07:26 +0000
committerngie <ngie@FreeBSD.org>2014-10-12 10:07:26 +0000
commitc60e1a8fc3c6e0e955c37437181901f57f1a3727 (patch)
tree651be6148793ce60d6fe2df690dbdd82caa6ea2e /contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
parent9cc3d490e4454bdd80542923889dc987d978a6b2 (diff)
downloadFreeBSD-src-c60e1a8fc3c6e0e955c37437181901f57f1a3727.zip
FreeBSD-src-c60e1a8fc3c6e0e955c37437181901f57f1a3727.tar.gz
#include libutil.h for fparseln on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c b/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
index 17258f5..f5ded27 100644
--- a/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
+++ b/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
@@ -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 "
OpenPOWER on IntegriCloud