smb: Use HAVE_PROCESS_H for process.h inclusion

Rather than testing against _WIN32 use the preferred HAVE_PROCESS_H
pre-processor define when including process.h.
This commit is contained in:
Steve Holme 2014-12-14 16:42:08 +00:00
parent b13923f0f7
commit b9950e3b33
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
#define BUILDING_CURL_SMB_C
#ifdef _WIN32
#ifdef HAVE_PROCESS_H
#include <process.h>
#define getpid _getpid
#endif