summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-21 17:57:12 +0000
committerngie <ngie@FreeBSD.org>2014-10-21 17:57:12 +0000
commit8dc4ce8d5948752bce02aec5d65e80cedd41745a (patch)
tree7dc046d04499adc9e260cc7c26e0f42da287cf83 /contrib/netbsd-tests/lib/libc/stdlib
parent075f560f0cbde569d4ef823d41c5bc56833ff4e8 (diff)
downloadFreeBSD-src-8dc4ce8d5948752bce02aec5d65e80cedd41745a.zip
FreeBSD-src-8dc4ce8d5948752bce02aec5d65e80cedd41745a.tar.gz
libutil.h is required for fparseln on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib')
-rw-r--r--contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c b/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c
index 074e4dd..58ecd96 100644
--- a/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c
+++ b/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c
@@ -34,6 +34,9 @@
#include <stdlib.h>
#include <unistd.h>
#include <err.h>
+#if defined(__FreeBSD__)
+#include <libutil.h>
+#endif
#define WS "\t\n "
#define debug 0
OpenPOWER on IntegriCloud