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