summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-03 23:31:50 +0000
committertjr <tjr@FreeBSD.org>2003-01-03 23:31:50 +0000
commitc3c81fd44127957c4f17b61b184e8473a278af50 (patch)
tree1d19d2add090eae8f62c2d256e4348a1d4bf697f /lib/libc
parentd0b52ce8ccc2edfa0d852790e910f508fef2bf77 (diff)
downloadFreeBSD-src-c3c81fd44127957c4f17b61b184e8473a278af50.zip
FreeBSD-src-c3c81fd44127957c4f17b61b184e8473a278af50.tar.gz
#include <string.h> for strcmp()'s prototype.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/getsubopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/getsubopt.c b/lib/libc/stdlib/getsubopt.c
index c27bcf6..8577446 100644
--- a/lib/libc/stdlib/getsubopt.c
+++ b/lib/libc/stdlib/getsubopt.c
@@ -37,8 +37,9 @@ static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <unistd.h>
#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
/*
* The SVID interface to getsubopt provides no way of figuring out which
OpenPOWER on IntegriCloud