From 6f3b0f799b3a0c12bce76156c85501717bc70ab9 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 3 Jul 1999 03:34:47 +0000 Subject: [PATCH] work around the Apache problem that it pollutes the namespace --- main/php.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- 2.40.0