I'm working on integrating APR into a project I'm working on.  When I #include "apr_pools.h" in a header file of mine (Specific.h), which is then included by several files in my project, I get dozens of errors from the APR header files when compiling my project (the APR library compiles cleanly).  I'm doing this so my function headers can include apr_pool_t.  Is there a different apr header I should be using to do this?  I wouldn't think so...

This problem doesn't seem to pop up when I #include "apr_pools.h" in individual .cpp files, as far as I've noticed.

I'm working on Windows.

cl <flags> ClassImpl.cpp
ClassImpl.cpp
c:\code\linus\src\apr\apr\include\apr_errno.h(51) : error C2146: syntax error :
missing ';' before identifier 'apr_strerror'
c:\code\linus\src\apr\apr\include\apr_errno.h(52) : error C2061: syntax error :
identifier 'apr_size_t'
c:\code\linus\src\apr\apr\include\apr_general.h(159) : warning C4273: 'memchr' :
 inconsistent dll linkage
c:\code\linus\src\apr\apr\include\apr_general.h(175) : error C2146: syntax error
 : missing ';' before identifier 'apr_initialize'
c:\code\linus\src\apr\apr\include\apr_general.h(175) : error C2733: second C lin
kage of overloaded function 'APR_DECLARE' not allowed
        c:\code\linus\src\apr\apr\include\apr_general.h(175) : see declaration o
f 'APR_DECLARE'
c:\code\linus\src\apr\apr\include\apr_general.h(189) : error C2146: syntax error
 : missing ';' before identifier 'apr_app_initialize'
c:\code\linus\src\apr\apr\include\apr_general.h(202) : error C2146: syntax error
 : missing ';' before identifier 'apr_terminate'
c:\code\linus\src\apr\apr\include\apr_general.h(213) : error C2146: syntax error
 : missing ';' before identifier 'apr_terminate2'

etc etc etc

Any help is appreciated.