diff options
author | 2008-05-03 18:46:41 +0000 | |
---|---|---|
committer | 2008-05-03 18:46:41 +0000 | |
commit | a298bd54cb4df380f4a7a589a5db499b7dd2a786 (patch) | |
tree | 093f8fe5a6050b0d95bb356262c11c77e94727ad /lib/libc/stdio/fopen.c | |
parent | Do not acquire the kernel lock for SY_NOLOCK system calls; ok drahn@ kettenis@ (diff) | |
download | wireguard-openbsd-a298bd54cb4df380f4a7a589a5db499b7dd2a786.tar.xz wireguard-openbsd-a298bd54cb4df380f4a7a589a5db499b7dd2a786.zip |
add missing header for close
ok otto@ espie@ millert@
Diffstat (limited to 'lib/libc/stdio/fopen.c')
-rw-r--r-- | lib/libc/stdio/fopen.c | 3 |
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 * |