svn commit: r288007 - head/lib/libc/gen

Craig Rodrigues rodrigc at FreeBSD.org
Sun Sep 20 03:56:58 UTC 2015


Author: rodrigc
Date: Sun Sep 20 03:56:57 2015
New Revision: 288007
URL: https://svnweb.freebsd.org/changeset/base/288007

Log:
  Adding missing include to eliminate -Wmissing-prototypes warning

Modified:
  head/lib/libc/gen/feature_present.c

Modified: head/lib/libc/gen/feature_present.c
==============================================================================
--- head/lib/libc/gen/feature_present.c	Sun Sep 20 03:55:03 2015	(r288006)
+++ head/lib/libc/gen/feature_present.c	Sun Sep 20 03:56:57 2015	(r288007)
@@ -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


More information about the svn-src-head mailing list