diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-01-28 15:30:32 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-01-28 15:30:32 +0000 |
commit | 483a1438d7f90e91f659cefe2077572a38f48d45 (patch) | |
tree | 843434e4345725b973f90ace72dc1325b5fc3719 /file_io/os2/maperrorcode.c | |
parent | e2fa3eca225efd19af17f53c4263a4c531681f46 (diff) | |
download | apr-483a1438d7f90e91f659cefe2077572a38f48d45.tar.gz apr-483a1438d7f90e91f659cefe2077572a38f48d45.zip |
OS2 was chasing os2errno.h which we hid in a private platform directory,
but apr_errno.h is public. It also called in <os.h> with possibly
inappropriate headers, and if os2.h follows any other header's usual
conventions, calling it the second time for more declarations can be
dicey. Relocated <os2.h> into apr.h.in (accessable to all, since it's
later leveraged by most), which simplifies a bunch of code, and relocate
all of the os2errno values into apr_errno.h for APR_STATUS_IS_FOO tests.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/maperrorcode.c')
-rw-r--r-- | file_io/os2/maperrorcode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/file_io/os2/maperrorcode.c b/file_io/os2/maperrorcode.c index 5fa398151..36cba058d 100644 --- a/file_io/os2/maperrorcode.c +++ b/file_io/os2/maperrorcode.c @@ -57,9 +57,7 @@ #include "apr_file_io.h" #include <errno.h> #include <string.h> -#include <os2.h> -#include "../../network_io/os2/os2calls.h" - +#include "apr_errno.h" static int errormap[][2] = { { NO_ERROR, APR_SUCCESS }, |