From 15b9d8965dbe6c6c268229fd0c22092094ce712d Mon Sep 17 00:00:00 2001 From: snow flurry Date: Fri, 1 Mar 2024 19:58:21 -0800 Subject: [PATCH] smb: use process.h instead of GetCurrentProcessId --- lib/smb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/smb.c b/lib/smb.c index 1d1867c..7c28d3e 100644 --- a/lib/smb.c +++ b/lib/smb.c @@ -27,9 +27,7 @@ #if !defined(CURL_DISABLE_SMB) && defined(USE_CURL_NTLM_CORE) -#ifdef _WIN32 -#define getpid GetCurrentProcessId -#endif +#include #include "smb.h" #include "urldata.h"