summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/getdomainname.c4
-rw-r--r--lib/libc/gen/gethostname.c4
-rw-r--r--lib/libc/gen/getpagesize.c4
3 files changed, 6 insertions, 6 deletions
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>