summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_generic.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
committermillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
commitae5feee3506f1aa5259009ab0dd200f8b10a80e8 (patch)
tree971a43b49d285f8c2fb3bf3dfddffcf524907723 /lib/libc/rpc/clnt_generic.c
parentmake alloc_stack take an optional base, preparation for stack attributes (diff)
downloadwireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.tar.xz
wireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.zip
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'lib/libc/rpc/clnt_generic.c')
-rw-r--r--lib/libc/rpc/clnt_generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_generic.c b/lib/libc/rpc/clnt_generic.c
index 7f23799f418..3bbd3167789 100644
--- a/lib/libc/rpc/clnt_generic.c
+++ b/lib/libc/rpc/clnt_generic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_generic.c,v 1.5 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: clnt_generic.c,v 1.6 2005/12/21 01:40:22 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
@@ -31,10 +31,10 @@
/*
* Copyright (C) 1987, Sun Microsystems, Inc.
*/
+#include <errno.h>
#include <string.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
-#include <sys/errno.h>
#include <netdb.h>
/*