summaryrefslogtreecommitdiff
path: root/src/configfile.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-11-26 15:10:56 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2023-05-03 23:11:34 -0400
commit1ab46d43bc5753a42f8543234f94f7abc152d228 (patch)
treeba04a9852462be74bfc39d0a70b35ddbc0c7f82a /src/configfile.c
parentbc6b61fd190d74c389ffae623ef19b386c65c81b (diff)
downloadlighttpd-git-1ab46d43bc5753a42f8543234f94f7abc152d228.tar.gz
[multiple] _WIN32 stat() compat sys-stat.h
no lstat() no S_IFSOCK no S_ISSOCK() ...
Diffstat (limited to 'src/configfile.c')
-rw-r--r--src/configfile.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/configfile.c b/src/configfile.c
index ec520ea8..897f8276 100644
--- a/src/configfile.c
+++ b/src/configfile.c
@@ -1,5 +1,7 @@
#include "first.h"
+#include "sys-stat.h"
+
#include "base.h"
#include "burl.h"
#include "chunk.h"
@@ -18,11 +20,6 @@
#include "stat_cache.h"
#include "sys-crypto.h"
-#include <sys/stat.h>
-#ifdef HAVE_SYS_WAIT_H
-#include <sys/wait.h>
-#endif
-
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>