mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-09-22 17:48:20 +02:00
Fix PathCanonicalize() API not being found for win32 build
Add shlwapi.h to access the prototype of the function of PathCanonicalize()
This commit is contained in:
parent
6301972e69
commit
65df6a412c
@ -203,6 +203,8 @@ realpath(const char *path, char resolved[PATH_MAX])
|
||||
|
||||
#else
|
||||
|
||||
#include <Shlwapi.h>
|
||||
|
||||
void backslashconvert(char *str)
|
||||
{
|
||||
while (*str) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user