summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-11 13:34:41 +0000
committerguenther <guenther@openbsd.org>2015-09-11 13:34:41 +0000
commitf6093810acad35f7c39b52e76ba5c0e507193e05 (patch)
tree2a38385bbbd958ec4d0c0aa89f2af8f8743f2155 /lib/libc
parentUse PROTO_NORMAL() on __syscall to go direct, adjusting the declaration (diff)
downloadwireguard-openbsd-f6093810acad35f7c39b52e76ba5c0e507193e05.tar.xz
wireguard-openbsd-f6093810acad35f7c39b52e76ba5c0e507193e05.zip
lseek() is in <unistd.h> ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/xdr_rec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/xdr_rec.c b/lib/libc/rpc/xdr_rec.c
index 76a38d42124..8f0b0d21dd7 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.18 2015/09/01 19:54:01 deraadt Exp $ */
+/* $OpenBSD: xdr_rec.c,v 1.19 2015/09/11 13:34:41 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -52,6 +52,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/auth.h>