diff options
author | millert <> | 2006-01-17 15:41:52 +0000 |
---|---|---|
committer | millert <> | 2006-01-17 15:41:52 +0000 |
commit | 07892f379f3a3f3dd5b4128c830b50a081b082e7 (patch) | |
tree | 26011db71a86244077529f06e840a6b680acb4aa | |
parent | 09ef8332f933575ca0bf0a49c984accb971d930f (diff) | |
download | openbsd-07892f379f3a3f3dd5b4128c830b50a081b082e7.tar.gz openbsd-07892f379f3a3f3dd5b4128c830b50a081b082e7.tar.bz2 openbsd-07892f379f3a3f3dd5b4128c830b50a081b082e7.zip |
Include limits.h directly instead of depending on another header
to include it for us.
-rw-r--r-- | src/lib/libc/net/getprotoent.c | 3 | ||||
-rw-r--r-- | src/lib/libc/net/getservent.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libc/net/getprotoent.c b/src/lib/libc/net/getprotoent.c index 7e6edc9329..7c6ab68166 100644 --- a/src/lib/libc/net/getprotoent.c +++ b/src/lib/libc/net/getprotoent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getprotoent.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: getprotoent.c,v 1.9 2006/01/17 15:41:52 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. |
@@ -32,6 +32,7 @@ | |||
32 | #include <sys/socket.h> | 32 | #include <sys/socket.h> |
33 | 33 | ||
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | #include <limits.h> | ||
35 | #include <netdb.h> | 36 | #include <netdb.h> |
36 | #include <stdio.h> | 37 | #include <stdio.h> |
37 | #include <stdlib.h> | 38 | #include <stdlib.h> |
diff --git a/src/lib/libc/net/getservent.c b/src/lib/libc/net/getservent.c index 6c1ecce78d..ab916b8e80 100644 --- a/src/lib/libc/net/getservent.c +++ b/src/lib/libc/net/getservent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getservent.c,v 1.10 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: getservent.c,v 1.11 2006/01/17 15:41:52 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. |
@@ -32,6 +32,7 @@ | |||
32 | #include <sys/socket.h> | 32 | #include <sys/socket.h> |
33 | 33 | ||
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | #include <limits.h> | ||
35 | #include <netdb.h> | 36 | #include <netdb.h> |
36 | #include <stdio.h> | 37 | #include <stdio.h> |
37 | #include <string.h> | 38 | #include <string.h> |