/* $Id$ */
+#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "ext/standard/file.h"
#include "php_curl.h"
-static unsigned char second_arg_force_ref[] = {2, BYREF_NONE, BYREF_FORCE};
-
static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC);
#define SAVE_CURL_ERROR(__handle, __err) (__handle)->err.no = (int) __err;
+----------------------------------------------------------------------+
*/
-/* $Id: */
+/* $Id$ */
+
+#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
#include "php.h"
#include <curl/curl.h>
#include <curl/multi.h>
+#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
+#endif
+
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
+
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
/* {{{ proto resource curl_multi_init(void)
Returns a new cURL multi handle */