summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 104983efb4..a778c5dff6 100644
--- a/main/php.h
+++ b/main/php.h
@@ -168,6 +168,10 @@ typedef zval pval;
extern char *strerror(int);
#endif
+#ifdef HAVE_MKSTEMP
+# define mktemp mkstemp
+#endif
+
#include "fopen-wrappers.h"
#if APACHE /* apache httpd */