aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Curl/files/patch-Curl.xs
blob: e93f1dfbe1d713ab0541ed57166ab2c8b4c94749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Curl.xs.orig	Thu Jul 13 14:54:37 2006
+++ Curl.xs	Thu Jul 13 14:55:34 2006
@@ -64,12 +64,17 @@
 
 
 typedef struct {
+#if LIBCURL_VERSION_NUM >= 0x070b01
+    struct curl_httppost * post;
+    struct curl_httppost * last;
+#else
 #if LIBCURL_VERSION_NUM >= 0x070900
     struct HttpPost * post;
     struct HttpPost * last;
 #else
     void * post;
     void * last;
+#endif
 #endif
 } perl_curl_form;