summaryrefslogtreecommitdiff
path: root/ext/notes/php_notes.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/notes/php_notes.c')
-rw-r--r--ext/notes/php_notes.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/notes/php_notes.c b/ext/notes/php_notes.c
index 23c6b4588c..16a459ceb1 100644
--- a/ext/notes/php_notes.c
+++ b/ext/notes/php_notes.c
@@ -31,7 +31,12 @@
#include "php_notes.h"
#include "ext/standard/info.h"
+#ifdef PHP_WIN32
+#include <global.h>
+#else
#include <notes_global.h>
+#endif
+
#include <nsfdb.h>
#include <nsfdata.h>
#include <osmisc.h>
@@ -58,9 +63,14 @@
#include <io.h>
#include <direct.h>
#include <fcntl.h>
-
#include <globerr.h>
+
+#ifdef PHP_WIN32
+#include <mail.h>
+#else
#include <notes_mail.h>
+#endif
+
#include <mailserv.h>
#include <nsf.h>
#include <osfile.h> /* OSPathNetConstruct */