summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-08-02 11:52:02 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-08-02 11:52:02 +0000
commit0aef5eb8c84d78d246e662333cf067359a812bbf (patch)
tree26fc15f38bfff7aa7859d289b72c299d600066ac
parentd29ae3421a79afa1770b0d81d1150eef0960dbfd (diff)
2 missing #includes
-rw-r--r--usr.sbin/httpd/src/main/fdcache.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/httpd/src/main/fdcache.c b/usr.sbin/httpd/src/main/fdcache.c
index 7a6616d7a5e..776ed76b06b 100644
--- a/usr.sbin/httpd/src/main/fdcache.c
+++ b/usr.sbin/httpd/src/main/fdcache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdcache.c,v 1.4 2002/07/17 17:00:25 henning Exp $ */
+/* $OpenBSD: fdcache.c,v 1.5 2002/08/02 11:52:01 henning Exp $ */
/*
* Copyright (c) 2002 Henning Brauer
@@ -34,6 +34,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
+#include <fcntl.h>
+#include <unistd.h>
struct fdcache {
char *fname;
@@ -77,7 +79,7 @@ fdcache_open(char *fn, int flags, mode_t mode)
}
void
-fdcache_closeall()
+fdcache_closeall(void)
{
struct fdcache *fdcp = NULL, *tmp = NULL;