summaryrefslogtreecommitdiff
path: root/include/apr_lib.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-12-01 20:35:41 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-12-01 20:35:41 +0000
commite15c16fa49dd9481d3147093d82c02615376912d (patch)
treeab3596cc13f803f0208414b2657d3e4f9c4e8a4e /include/apr_lib.h
parentc969d54fd7bc7bb73650cfd1b057d56dbf2d43de (diff)
downloadlibapr-e15c16fa49dd9481d3147093d82c02615376912d.tar.gz
This finishes cleaning up the APR macro leak. APR public headers no longer
include apr_config.h, but there is a new header they do include. No other program must include this header. The apr.h header is everything an APR'ized program needs to run properly. There are some public APR headers which are including system headers. These will go away in time, but this should allow Apache to compile cleanly again. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59496 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_lib.h')
-rw-r--r--include/apr_lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h
index 929565822..637a4b642 100644
--- a/include/apr_lib.h
+++ b/include/apr_lib.h
@@ -67,8 +67,12 @@
#include "apr_general.h"
#include "apr_file_io.h"
+#if APR_HAVE_STDARG_H
#include <stdarg.h>
+#endif
+#if APR_HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#ifdef __cplusplus
extern "C" {