diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-02-24 01:28:21 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-02-24 01:28:21 (GMT) |
commit | f30e7608484d48ec9a3f3073f4b7a351a44d90a9 (patch) | |
tree | 48b306d35d39e00747cd3c32e8a6cf51c1d2ed82 /Utilities/cmxmlrpc/xmlrpc_curl_transport.c | |
parent | a8770ccc193371d19f16bad6e4cf7ef6932a4ad5 (diff) | |
download | CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.zip CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.tar.gz CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.tar.bz2 |
COMP: Several Windows fixes
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_curl_transport.c')
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c index 37d3dea..0852d28 100644 --- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c +++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c @@ -22,12 +22,16 @@ #include <string.h> #include <stdlib.h> #include <errno.h> -#include <pthread.h> +#include "xmlrpc_pthreads.h" #include <curl/curl.h> #include <curl/types.h> #include <curl/easy.h> +#ifndef WIN32 +# include <unistd.h> +#endif + #if defined (WIN32) && defined(_DEBUG) # include <crtdbg.h> # define new DEBUG_NEW @@ -348,7 +352,6 @@ destroyCurlTransaction(curlTransaction * const curlTransactionP) { } -#include <unistd.h> static void performCurlTransaction(xmlrpc_env * const envP, curlTransaction * const curlTransactionP) { |