summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 75e392d567..73253b9139 100644
--- a/main/php.h
+++ b/main/php.h
@@ -174,7 +174,15 @@ extern char *strerror(int);
#if APACHE /* apache httpd */
# if HAVE_AP_CONFIG_H
+#include "ap_config_auto.h"
+#ifdef RHAPSODY
+#undef HAVE_SNPRINTF
+#endif
#include "ap_config.h"
+#ifdef RHAPSODY
+#undef HAVE_SNPRINTF
+#define HAVE_SNPRINTF 1
+#endif
# endif
# if HAVE_OLD_COMPAT_H
#include "compat.h"