Skip to content

Commit ba5a84b

Browse files
authored
fix Include filepath resolution for Windows (#653)
1 parent ad957f8 commit ba5a84b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

servconf.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,9 @@ process_server_config_line_depth(ServerOptions *options, char *line,
21212121
/* requested glob was not in cache */
21222122
debug2("%s line %d: new include %s",
21232123
filename, linenum, arg);
2124+
#ifdef WINDOWS
2125+
convertToForwardslash(arg);
2126+
#endif // WINDOWS
21242127
if ((r = glob(arg, 0, NULL, &gbuf)) != 0) {
21252128
if (r != GLOB_NOMATCH) {
21262129
fatal("%s line %d: include \"%s\" glob "

0 commit comments

Comments
 (0)