summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2011-12-14 08:35:08 +0000
committerru <ru@FreeBSD.org>2011-12-14 08:35:08 +0000
commiteea2081b7ba5657f5262626acb93e1b0a7a08696 (patch)
tree9cbb4823f87333a8a09fc07ec3f42f526da5bbcc /lib
parent99acc82e0f5454e8b07327f562872d5e04f2e606 (diff)
downloadFreeBSD-src-eea2081b7ba5657f5262626acb93e1b0a7a08696.zip
FreeBSD-src-eea2081b7ba5657f5262626acb93e1b0a7a08696.tar.gz
Clean up includes; the prototype for getosreldate() has moved to
<unistd.h> in r183390.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getosreldate.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/gen/getosreldate.c b/lib/libc/gen/getosreldate.c
index 83bdc85..b4bf545 100644
--- a/lib/libc/gen/getosreldate.c
+++ b/lib/libc/gen/getosreldate.c
@@ -33,12 +33,11 @@ static char sccsid[] = "@(#)gethostid.c 8.1 (Berkeley) 6/2/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <osreldate.h>
+#include <stdlib.h>
+#include <unistd.h>
int
getosreldate(void)
OpenPOWER on IntegriCloud