summaryrefslogtreecommitdiff
path: root/ext/standard/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r--ext/standard/mail.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c
index d4cb79d2fc..a7f3007849 100644
--- a/ext/standard/mail.c
+++ b/ext/standard/mail.c
@@ -25,8 +25,13 @@
#include "ext/standard/info.h"
#if !defined(PHP_WIN32)
#include "build-defs.h"
+#if HAVE_SYSEXITS_H
#include <sysexits.h>
#endif
+#if HAVE_SYS_SYSEXITS_H
+#include <sys/sysexits.h>
+#endif
+#endif
#include "php_mail.h"
#include "php_ini.h"