summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/bindresvport.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/bindresvport.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/bindresvport.c')
-rw-r--r--lib/libc/rpc/bindresvport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/bindresvport.c b/lib/libc/rpc/bindresvport.c
index 2defe41f1d7..10ee787868c 100644
--- a/lib/libc/rpc/bindresvport.c
+++ b/lib/libc/rpc/bindresvport.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bindresvport.c,v 1.16 2005/04/01 07:44:03 otto Exp $ */
+/* $OpenBSD: bindresvport.c,v 1.17 2005/12/21 01:40:22 millert Exp $ */
/*
* Copyright 1996, Jason Downs. All rights reserved.
@@ -25,9 +25,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <errno.h>
#include <string.h>
#include <sys/types.h>
-#include <sys/errno.h>
#include <sys/socket.h>
#include <netinet/in.h>