diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-17 15:37:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-17 15:37:59 +0000 |
commit | 63decd4a9aa176a8db1a75baae9c99da30b7a2eb (patch) | |
tree | fa9bf3a30a3ff729613e583b11189d8c0690993d /lib/libc/net/getnetent.c | |
parent | 01f4cc439a70cd4cfca8c3dc34ef28b2e4e2b007 (diff) |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'lib/libc/net/getnetent.c')
-rw-r--r-- | lib/libc/net/getnetent.c | 4 |
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> |