diff --git a/source/include/curl/curl.h b/source/include/curl/curl.h index ccc3ff63..820de6ce 100644 --- a/source/include/curl/curl.h +++ b/source/include/curl/curl.h @@ -186,10 +186,12 @@ typedef int curl_socket_t; // avoid conflict with /usr/include/unistd.h (l.275ff here) // typedef __socklen_t socklen_t; #ifndef __socklen_t_defined +#ifndef _SOCKLEN_T typedef int socklen_t; // original line was: //typedef int socklen_t; #endif +#endif struct curl_httppost { struct curl_httppost *next; /* next entry in the list */