summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-14 23:03:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-14 23:03:51 +0000
commitb576dfd1c26f9c63e232a5cd8b6fba6f59729ebc (patch)
tree53d360c3bf3dd3fdf1a0a0b116a3164fd5aa2bc8
parent545b928e2e50564ee52e872273438581ae82d7f3 (diff)
these never needed sys/param.h
-rw-r--r--lib/libc/compat-43/gethostid.c4
-rw-r--r--lib/libc/compat-43/sethostid.c4
-rw-r--r--lib/libc/gen/getdomainname.c4
-rw-r--r--lib/libc/gen/gethostname.c4
-rw-r--r--lib/libc/gen/getpagesize.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/compat-43/gethostid.c b/lib/libc/compat-43/gethostid.c
index 06610658d9d..60f0a67dd32 100644
--- a/lib/libc/compat-43/gethostid.c
+++ b/lib/libc/compat-43/gethostid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gethostid.c,v 1.7 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: gethostid.c,v 1.8 2015/01/14 23:03:50 deraadt Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <unistd.h>
diff --git a/lib/libc/compat-43/sethostid.c b/lib/libc/compat-43/sethostid.c
index 4392e042af3..236f621131e 100644
--- a/lib/libc/compat-43/sethostid.c
+++ b/lib/libc/compat-43/sethostid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sethostid.c,v 1.8 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: sethostid.c,v 1.9 2015/01/14 23:03:50 deraadt Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <unistd.h>
diff --git a/lib/libc/gen/getdomainname.c b/lib/libc/gen/getdomainname.c
index ce8c1aaef82..83aaf9449b3 100644
--- a/lib/libc/gen/getdomainname.c
+++ b/lib/libc/gen/getdomainname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getdomainname.c,v 1.7 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: getdomainname.c,v 1.8 2015/01/14 23:03:50 deraadt Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <unistd.h>
diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c
index 4b01b8bb79c..4ae3439683e 100644
--- a/lib/libc/gen/gethostname.c
+++ b/lib/libc/gen/gethostname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gethostname.c,v 1.7 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: gethostname.c,v 1.8 2015/01/14 23:03:50 deraadt Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <unistd.h>
diff --git a/lib/libc/gen/getpagesize.c b/lib/libc/gen/getpagesize.c
index 2d01336e07b..37d02554b97 100644
--- a/lib/libc/gen/getpagesize.c
+++ b/lib/libc/gen/getpagesize.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getpagesize.c,v 1.6 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: getpagesize.c,v 1.7 2015/01/14 23:03:50 deraadt Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <unistd.h>