summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-17 15:37:59 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-17 15:37:59 +0000
commit63decd4a9aa176a8db1a75baae9c99da30b7a2eb (patch)
treefa9bf3a30a3ff729613e583b11189d8c0690993d /lib
parent01f4cc439a70cd4cfca8c3dc34ef28b2e4e2b007 (diff)
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getnetent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getnetent.c b/lib/libc/net/getnetent.c
index 5a2eb205af1..1bec6fb98ce 100644
--- a/lib/libc/net/getnetent.c
+++ b/lib/libc/net/getnetent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getnetent.c,v 1.11 2005/08/06 20:30:03 espie Exp $ */
+/* $OpenBSD: getnetent.c,v 1.12 2006/01/17 15:37:58 millert Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>