diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-05-04 01:14:06 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-05-04 01:14:06 -0400 |
commit | fa26bf072a4e3c94449924da48d7a51a5513319e (patch) | |
tree | 4956f6cf083974ac6cfbdc411a505dacca4f10a8 | |
parent | b19efdf128f19b7389de47ba53f09975b330055b (diff) | |
download | lighttpd-git-fa26bf072a4e3c94449924da48d7a51a5513319e.tar.gz |
[build] ifdef _WIN32 before include fs_win32.h
revert previous commit adding fs_win32.h to Makefile.am hdrs
ifdef _WIN32 check before include fs_win32.h so that other platforms
do not have to care
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/fs_win32.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5e6ad2f6..95d5e076 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -358,7 +358,7 @@ hdr = base64.h buffer.h burl.h network.h log.h http_kv.h keyvalue.h \ fdevent.h gw_backend.h connections.h base.h base_decls.h stat_cache.h \ plugin.h plugins.h plugin_config.h \ http_etag.h array.h \ - fdevent_impl.h fs_win32.h network_write.h configfile.h \ + fdevent_impl.h network_write.h configfile.h \ sock_addr_cache.h \ configparser.h \ rand.h \ diff --git a/src/fs_win32.c b/src/fs_win32.c index 8c51e824..afbe2e58 100644 --- a/src/fs_win32.c +++ b/src/fs_win32.c @@ -6,10 +6,10 @@ */ #include "first.h" -#include "fs_win32.h" - #ifdef _WIN32 +#include "fs_win32.h" + /* MS filesystem API does not support UTF-8? WTH? write our own; not hard */ #include <sys/types.h> |