aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-14 16:42:08 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-14 16:42:08 +0000
commitb9950e3b33a82ee26db0c67ab9f54ad5fe1e964f (patch)
treec468e63053dfeafeeaafbc66612dbc571d15ed34 /lib
parentb13923f0f7ad697792de96adbf51867122f3ee4f (diff)
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.
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