summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 03:56:57 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 03:56:57 +0000
commit4c66a735a8a5535605a39718c7baa5b3ef42015c (patch)
treef68ec8df268dadc56a0ade56286c52b9c7d9b78e /lib/libc
parent0fd58af2628ada6a88790da9468ce03d82432743 (diff)
downloadFreeBSD-src-4c66a735a8a5535605a39718c7baa5b3ef42015c.zip
FreeBSD-src-4c66a735a8a5535605a39718c7baa5b3ef42015c.tar.gz
Adding missing include to eliminate -Wmissing-prototypes warning
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/feature_present.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/gen/feature_present.c b/lib/libc/gen/feature_present.c
index 7a2c282..a230c8a 100644
--- a/lib/libc/gen/feature_present.c
+++ b/lib/libc/gen/feature_present.c
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
/*
* Returns true if the named feature is present in the currently
OpenPOWER on IntegriCloud