diff options
author | 2004-06-07 21:11:23 +0000 | |
---|---|---|
committer | 2004-06-07 21:11:23 +0000 | |
commit | f91de67f292fa8f5ed29aa37e5f5b87d8645664d (patch) | |
tree | dab54fdaea4206ab36fc68dc883c9be239ea81d6 /lib/libc/sys | |
parent | Correctly handle an unaligned long long parameter on stack in varargs functions; (diff) | |
download | wireguard-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.c | 4 | ||||
-rw-r--r-- | lib/libc/sys/lseek.c | 4 |
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" /* |