Zend/zend_modules.h before it being finished. Revert it
#if PHP_API_VERSION < 19990421
#define zend_module_entry cybercash_module_entry
-#include "zend_modules.h"
+#include "modules.h"
#include "internal_functions.h"
#endif
#if HAVE_LIBINTL
#ifndef INIT_FUNC_ARGS
-#include "zend_modules.h"
+#include "modules.h"
#endif
extern zend_module_entry php_gettext_module_entry;
#include <stdarg.h>
#include "cal.h"
#include "php_icap.h"
-#include "zend_modules.h"
+#include "modules.h"
#if (WIN32|WINNT)
#include "winsock.h"
#endif
#include "imap.h"
#include "mail.h"
#include "rfc822.h"
-#include "zend_modules.h"
+#include "modules.h"
#if (WIN32|WINNT)
#include "winsock.h"
MAILSTREAM DEFAULTPROTO;
#include <stdarg.h>
#include "mcal.h"
#include "php_mcal.h"
-#include "zend_modules.h"
-#if (WIN32|WINNT)
+#include "modules.h"
+#ifdef PHP_WIN32
#include "winsock.h"
#endif
CALSTREAM *cal_open();
#if PHP_API_VERSION < 19990421
#define zend_module_entry zend_module_entry
-#include "zend_modules.h"
+#include "modules.h"
#include "internal_functions.h"
#endif
#if PHP_API_VERSION < 19990421
#define zend_module_entry zend_module_entry
-#include "zend_modules.h"
+#include "modules.h"
#include "internal_functions.h"
#endif