diff options
| author | millert <> | 2006-01-17 15:37:58 +0000 |
|---|---|---|
| committer | millert <> | 2006-01-17 15:37:58 +0000 |
| commit | 09ef8332f933575ca0bf0a49c984accb971d930f (patch) | |
| tree | 4002ec232f58825764c4ee6fe7e546932520fe1c /src/lib/libc/net/getnetent.c | |
| parent | 7e1dc3df53f566f83ce158839b5d0962466966e3 (diff) | |
| download | openbsd-09ef8332f933575ca0bf0a49c984accb971d930f.tar.gz openbsd-09ef8332f933575ca0bf0a49c984accb971d930f.tar.bz2 openbsd-09ef8332f933575ca0bf0a49c984accb971d930f.zip | |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'src/lib/libc/net/getnetent.c')
| -rw-r--r-- | src/lib/libc/net/getnetent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/getnetent.c b/src/lib/libc/net/getnetent.c index 5a2eb205af..1bec6fb98c 100644 --- a/src/lib/libc/net/getnetent.c +++ b/src/lib/libc/net/getnetent.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: getnetent.c,v 1.11 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: getnetent.c,v 1.12 2006/01/17 15:37:58 millert Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 1983, 1993 | 3 | * Copyright (c) 1983, 1993 |
| 4 | * The Regents of the University of California. All rights reserved. | 4 | * The Regents of the University of California. All rights reserved. |
| @@ -28,7 +28,7 @@ | |||
| 28 | * SUCH DAMAGE. | 28 | * SUCH DAMAGE. |
| 29 | */ | 29 | */ |
| 30 | 30 | ||
| 31 | #include <sys/types.h> | 31 | #include <sys/param.h> |
| 32 | #include <sys/socket.h> | 32 | #include <sys/socket.h> |
| 33 | #include <netinet/in.h> | 33 | #include <netinet/in.h> |
| 34 | #include <arpa/inet.h> | 34 | #include <arpa/inet.h> |
