summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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