aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-06 13:58:41 +0000
committerYang Tse <yangsita@gmail.com>2009-05-06 13:58:41 +0000
commit77bb536542358b71b62bc245b2d00dfcd1afe7d2 (patch)
tree4944b6db7b09152ec08541589523b36aca2b1ca1 /include
parent7c6e0d5981bee90456de8ab10b6f0d5a90637a61 (diff)
fIX *__SOCKLEN_T definitions for OS400 and generic GCC targets
Diffstat (limited to 'include')
-rw-r--r--include/curl/curlbuild.h.dist12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/curl/curlbuild.h.dist b/include/curl/curlbuild.h.dist
index ba077925e..8b4360daa 100644
--- a/include/curl/curlbuild.h.dist
+++ b/include/curl/curlbuild.h.dist
@@ -402,9 +402,11 @@
# define CURL_SIZEOF_CURL_OFF_T 8
# define CURL_SUFFIX_CURL_OFF_T LL
# define CURL_SUFFIX_CURL_OFF_TU ULL
+# define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
+# define CURL_SIZEOF_CURL_SOCKLEN_T 4
+# define CURL_PULL_SYS_TYPES_H 1
+# define CURL_PULL_SYS_SOCKET_H 1
# endif
-# define CURL_TYPEOF_CURL_SOCKLEN_T FIXME
-# define CURL_SIZEOF_CURL_SOCKLEN_T -1
#elif defined(__MVS__)
# if defined(__IBMC__) || defined(__IBMCPP__)
@@ -545,8 +547,10 @@
# define CURL_SUFFIX_CURL_OFF_T L
# define CURL_SUFFIX_CURL_OFF_TU UL
# endif
-# define CURL_TYPEOF_CURL_SOCKLEN_T FIXME
-# define CURL_SIZEOF_CURL_SOCKLEN_T -1
+# define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
+# define CURL_SIZEOF_CURL_SOCKLEN_T 4
+# define CURL_PULL_SYS_TYPES_H 1
+# define CURL_PULL_SYS_SOCKET_H 1
#else
# error "Unknown non-configure build target!"