summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-05-03 18:46:42 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-05-03 18:46:42 +0000
commitcdacab32d8440eb8b190c79d74fb42bd48526e74 (patch)
treeeb79ee154ed9fff7d92324f14c1c12760b87a1a3 /lib
parent130b36c7d74e57f1d12ad476a05c18ff059219bd (diff)
add missing header for close
ok otto@ espie@ millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/fopen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/fopen.c b/lib/libc/stdio/fopen.c
index 64f81ea77ab..14650523e08 100644
--- a/lib/libc/stdio/fopen.c
+++ b/lib/libc/stdio/fopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fopen.c,v 1.6 2008/04/21 12:28:35 otto Exp $ */
+/* $OpenBSD: fopen.c,v 1.7 2008/05/03 18:46:41 chl Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -37,6 +37,7 @@
#include <limits.h>
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "local.h"
FILE *