diff options
Diffstat (limited to 'mod_log_sql.c')
| -rw-r--r-- | mod_log_sql.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c index 7c16ab9..83a303a 100644 --- a/mod_log_sql.c +++ b/mod_log_sql.c | |||
| @@ -1,4 +1,12 @@ | |||
| 1 | /* $Id: mod_log_sql.c,v 1.20 2004/03/05 00:30:58 urkle Exp $ */ | 1 | /* $Id$ */ |
| 2 | |||
| 3 | #if defined(WITH_APACHE20) | ||
| 4 | # include "apache20.h" | ||
| 5 | #elif defined(WITH_APACHE13) | ||
| 6 | # include "apache13.h" | ||
| 7 | #else | ||
| 8 | # error Unsupported Apache version | ||
| 9 | #endif | ||
| 2 | 10 | ||
| 3 | #ifdef HAVE_CONFIG_H | 11 | #ifdef HAVE_CONFIG_H |
| 4 | /* Undefine these to prevent conflicts between Apache ap_config_auto.h and | 12 | /* Undefine these to prevent conflicts between Apache ap_config_auto.h and |
| @@ -13,14 +21,6 @@ | |||
| 13 | #include "config.h" | 21 | #include "config.h" |
| 14 | #endif | 22 | #endif |
| 15 | 23 | ||
| 16 | #if defined(WITH_APACHE20) | ||
| 17 | # include "apache20.h" | ||
| 18 | #elif defined(WITH_APACHE13) | ||
| 19 | # include "apache13.h" | ||
| 20 | #else | ||
| 21 | # error Unsupported Apache version | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #if APR_HAVE_UNISTD_H | 24 | #if APR_HAVE_UNISTD_H |
| 25 | #include <unistd.h> | 25 | #include <unistd.h> |
| 26 | #endif | 26 | #endif |
