summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/ftruncate.c')
-rw-r--r--lib/libc/sys/ftruncate.c4
1 files changed, 3 insertions, 1 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