mirror of
https://github.com/curl/curl.git
synced 2026-07-24 16:07:16 +03:00
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:
parent
b13923f0f7
commit
b9950e3b33
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#define BUILDING_CURL_SMB_C
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef HAVE_PROCESS_H
|
||||
#include <process.h>
|
||||
#define getpid _getpid
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue