scp needs this windows header file for 32bit win32

shlwapi.h needs to be included to access PathCanonicalize() win32 API
for 32 bit version in Visual Studio 2015.
This commit is contained in:
quamrulmina 2015-12-22 18:35:57 -06:00
parent a5917da436
commit 102d1ed6b6
1 changed files with 3 additions and 0 deletions

3
scp.c
View File

@ -119,6 +119,9 @@
#include "misc.h"
#include "progressmeter.h"
#ifdef WIN32_VS
#include <Shlwapi.h>
#endif
extern char *__progname;
#define COPY_BUFLEN 16384