summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-14 23:03:50 +0000
committerderaadt <deraadt@openbsd.org>2015-01-14 23:03:50 +0000
commitbfb0ce50ea29d7ea64bfc0502733ea51b311d92a (patch)
treef620e1473363b9ecc1a7a807ca7da70bb18118b1 /lib/libc
parentdowngrade ".so with absolute path" from FATAL to ERROR; (diff)
downloadwireguard-openbsd-bfb0ce50ea29d7ea64bfc0502733ea51b311d92a.tar.xz
wireguard-openbsd-bfb0ce50ea29d7ea64bfc0502733ea51b311d92a.zip
these never needed sys/param.h
Diffstat (limited to 'lib/libc')
-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>