summaryrefslogtreecommitdiff
path: root/ext/notes/php_notes.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-02-10 00:21:51 +0000
committerfoobar <sniper@php.net>2003-02-10 00:21:51 +0000
commit885a1a4d0875a2735795b3bde5f44a696e6bdd02 (patch)
tree52df5337d78ab3efa7e1d812d72fbcf5ddf0b0c2 /ext/notes/php_notes.c
parent1e9eeafe21e91bbd15fad70cd7ad648c93d6997e (diff)
downloadphp-git-885a1a4d0875a2735795b3bde5f44a696e6bdd02.tar.gz
some win32 fixes by Kai
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 */