$OpenBSD: patch-Curl_xs,v 1.1.1.1 2004/05/21 17:21:54 jolan Exp $
--- Curl.xs.orig	2004-04-20 08:24:18.000000000 -0500
+++ Curl.xs	2004-05-19 10:57:20.000000000 -0500
@@ -30,6 +30,10 @@
 #define header_callback_func writeheader_callback_func
 #endif
 
+#ifdef __CURL_MULTI_H
+int remaining;
+#endif
+
 typedef enum {
     CALLBACK_WRITE = 0,
     CALLBACK_READ,
@@ -927,7 +931,6 @@ curl_multi_perform(self)
     WWW::Curl::Multi self
     CODE:
 #ifdef __CURL_MULTI_H
-        int remaining;
         while(CURLM_CALL_MULTI_PERFORM ==
             curl_multi_perform(self->curlm, &remaining));
         while(remaining) {
