aboutsummaryrefslogtreecommitdiff
path: root/extension/curlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/curlmanager.cpp')
-rw-r--r--extension/curlmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/curlmanager.cpp b/extension/curlmanager.cpp
index 4fd833c..dba5c3a 100644
--- a/extension/curlmanager.cpp
+++ b/extension/curlmanager.cpp
@@ -21,7 +21,11 @@ struct data_t {
size_t nmemb;
size_t return_value;
};
+#ifdef _WIN32
#include <io.h>
+#endif
+
+
/* Write Function */
static size_t curl_write_function_default(void *ptr, size_t bytes, size_t nmemb, void *stream)
{