summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2010-07-17 19:23:10 +0000
committerguenther <guenther@openbsd.org>2010-07-17 19:23:10 +0000
commita645ec79134951fd6419c9c9faf177ee8948dc10 (patch)
treeb3c68f72980d977729f810ed21767c717191539a
parentCorrect value of DBL_MIN and DBL_MAX to match <sys/limits.h> (diff)
downloadwireguard-openbsd-a645ec79134951fd6419c9c9faf177ee8948dc10.tar.xz
wireguard-openbsd-a645ec79134951fd6419c9c9faf177ee8948dc10.zip
Correct the #includes to avoid warnings in <rpc/svc.h>
ok miod@
-rw-r--r--lib/libc/rpc/xdr_rec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/rpc/xdr_rec.c b/lib/libc/rpc/xdr_rec.c
index d20c9f111e3..5b0dd96ea1e 100644
--- a/lib/libc/rpc/xdr_rec.c
+++ b/lib/libc/rpc/xdr_rec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xdr_rec.c,v 1.13 2008/12/09 19:40:10 otto Exp $ */
+/* $OpenBSD: xdr_rec.c,v 1.14 2010/07/17 19:23:10 guenther 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
@@ -53,8 +53,9 @@
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/auth.h>
-#include <rpc/svc.h>
#include <rpc/clnt.h>
+#include <rpc/rpc_msg.h>
+#include <rpc/svc.h>
static bool_t xdrrec_getlong(XDR *, long *);
static bool_t xdrrec_putlong(XDR *, long *);