summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2004-06-07 21:11:23 +0000
committermarc <marc@openbsd.org>2004-06-07 21:11:23 +0000
commitf91de67f292fa8f5ed29aa37e5f5b87d8645664d (patch)
treedab54fdaea4206ab36fc68dc883c9be239ea81d6 /lib/libc/sys
parentCorrectly handle an unaligned long long parameter on stack in varargs functions; (diff)
downloadwireguard-openbsd-f91de67f292fa8f5ed29aa37e5f5b87d8645664d.tar.xz
wireguard-openbsd-f91de67f292fa8f5ed29aa37e5f5b87d8645664d.zip
major bump to libc and libpthread to break the dependency of a
particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ftruncate.c4
-rw-r--r--lib/libc/sys/lseek.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/ftruncate.c b/lib/libc/sys/ftruncate.c
index 8d95281064e..47670e5248d 100644
--- a/lib/libc/sys/ftruncate.c
+++ b/lib/libc/sys/ftruncate.c
@@ -28,11 +28,13 @@
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: ftruncate.c,v 1.11 2003/06/11 21:03:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ftruncate.c,v 1.12 2004/06/07 21:11:23 marc Exp $";
#endif /* SYSLIBC_SCCS and not lint */
#include <sys/types.h>
#include <sys/syscall.h>
+#include <sys/time.h>
+#include <unistd.h>
#include "thread_private.h"
#ifdef lint
diff --git a/lib/libc/sys/lseek.c b/lib/libc/sys/lseek.c
index d811ce9b8ae..b5c629e1b89 100644
--- a/lib/libc/sys/lseek.c
+++ b/lib/libc/sys/lseek.c
@@ -28,11 +28,13 @@
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: lseek.c,v 1.10 2003/06/11 21:03:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: lseek.c,v 1.11 2004/06/07 21:11:23 marc Exp $";
#endif /* SYSLIBC_SCCS and not lint */
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/syscall.h>
+#include <unistd.h>
#include "thread_private.h"
/*