Mac updates, libcurl and curl.h

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7495 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Ronald Reagan
2013-06-19 03:08:35 +00:00
parent 58b4916c12
commit ce97653829
+2
View File
@@ -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 */