aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smb.c b/lib/smb.c
index ffa75ea19..b310b0e17 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -29,7 +29,7 @@
#define BUILDING_CURL_SMB_C
-#ifdef _WIN32
+#ifdef HAVE_PROCESS_H
#include <process.h>
#define getpid _getpid
#endif