From 298b9e5a226a8dc9ecbee3800621a0e2f6d6b689 Mon Sep 17 00:00:00 2001 From: ygrek Date: Mon, 30 Dec 2019 12:30:55 +0200 Subject: [PATCH] properly fix CAML_NAME_SPACE issue https://github.com/ygrek/ocurl/commit/967609e2e7861321bded926308a98011b787eadf#r36609085 --- curl-helper.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/curl-helper.c b/curl-helper.c index 7a26282..a010a21 100644 --- a/curl-helper.c +++ b/curl-helper.c @@ -5,10 +5,16 @@ *** Copyright (c) 2009, ygrek, ***/ +#ifndef CAML_NAME_SPACE +#define CAML_NAME_SPACE +#endif + #include #include #include #include + +#include /* defines HAS_UNISTD */ #ifdef HAS_UNISTD #include #endif @@ -16,10 +22,6 @@ #define CURL_DISABLE_TYPECHECK #include -#ifndef CAML_NAME_SPACE -#define CAML_NAME_SPACE -#endif -#include #include #include #include -- 2.11.4.GIT