summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-17 15:43:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-17 15:43:35 +0000
commit320b542f2f350fd542d09861d873a80e3c2fc552 (patch)
tree1098170a70d8139692955318715d33e48b8523b9 /lib/libc
parent5b2a47a815677a8a8cf11796847537266d7bc6d7 (diff)
Include param.h for MAXHOSTNAMELEN
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/clnt_simple.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/rpc/clnt_simple.c b/lib/libc/rpc/clnt_simple.c
index 5773282184c..b5e1219e106 100644
--- a/lib/libc/rpc/clnt_simple.c
+++ b/lib/libc/rpc/clnt_simple.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_simple.c,v 1.12 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: clnt_simple.c,v 1.13 2006/01/17 15:43:34 millert Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -35,13 +35,14 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#include <sys/param.h>
+#include <sys/socket.h>
+#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <rpc/rpc.h>
-#include <sys/socket.h>
-#include <netdb.h>
#include <unistd.h>
+#include <rpc/rpc.h>
static struct callrpc_private {
CLIENT *client;