diff options
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) { |