$NetBSD: patch-ac,v 1.10 2006/11/03 07:00:40 wiz Exp $

--- ext/curl/curl.c.orig	2006-08-10 17:27:11.000000000 +0000
+++ ext/curl/curl.c
@@ -93,6 +93,14 @@
 static int  le_curl;
 #define le_curl_name "cURL handle"
 
+#ifndef        CURLOPT_PASSWDFUNCTION
+#define        CURLOPT_PASSWDFUNCTION  0
+#endif
+
+#ifndef CURLOPT_FTPASCII
+#define        CURLOPT_FTPASCII        0
+#endif
+
 #ifdef PHP_CURL_NEED_OPENSSL_TSL /* {{{ */
 static MUTEX_T *php_curl_openssl_tsl = NULL;
 
