summaryrefslogtreecommitdiff
path: root/lib/libc/net/getprotoent.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-17 15:41:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-17 15:41:53 +0000
commit5b2a47a815677a8a8cf11796847537266d7bc6d7 (patch)
tree1068d3cf7ecf40a5deca8f0956630a31e5dc2976 /lib/libc/net/getprotoent.c
parent63decd4a9aa176a8db1a75baae9c99da30b7a2eb (diff)
Include limits.h directly instead of depending on another header
to include it for us.
Diffstat (limited to 'lib/libc/net/getprotoent.c')
-rw-r--r--lib/libc/net/getprotoent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/getprotoent.c b/lib/libc/net/getprotoent.c
index 7e6edc93299..7c6ab681664 100644
--- a/lib/libc/net/getprotoent.c
+++ b/lib/libc/net/getprotoent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getprotoent.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
+/* $OpenBSD: getprotoent.c,v 1.9 2006/01/17 15:41:52 millert Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,6 +32,7 @@
#include <sys/socket.h>
#include <errno.h>
+#include <limits.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>