summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-05-05 21:50:46 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-05-05 21:50:46 +0000
commit8044a68f146a90a9d2cc02f851f66869219b89c0 (patch)
tree0c12c039fc07a2330126b423ac4d1ca13d0eb18a /lib/libc/stdio/vfprintf.c
parent56bea898cd6d84a42e51f9b583312ee7297b112a (diff)
add missing header for getpagesize
ok espie@
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index a99b32cf9a4..d4e96dd4ab8 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfprintf.c,v 1.43 2007/11/28 19:06:19 deraadt Exp $ */
+/* $OpenBSD: vfprintf.c,v 1.44 2008/05/05 21:50:45 chl Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -48,6 +48,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "local.h"
#include "fvwrite.h"