From 65df6a412c693679abf5a04eb896325f20200fc1 Mon Sep 17 00:00:00 2001 From: quamrulmina Date: Mon, 4 Jan 2016 17:21:50 -0600 Subject: [PATCH] Fix PathCanonicalize() API not being found for win32 build Add shlwapi.h to access the prototype of the function of PathCanonicalize() --- openbsd-compat/realpath.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbsd-compat/realpath.c b/openbsd-compat/realpath.c index 434e67a..a03c4a8 100644 --- a/openbsd-compat/realpath.c +++ b/openbsd-compat/realpath.c @@ -203,6 +203,8 @@ realpath(const char *path, char resolved[PATH_MAX]) #else +#include + void backslashconvert(char *str) { while (*str) {