diff options
| author | Greg Stein <gstein@apache.org> | 2001-02-10 13:05:29 +0000 |
|---|---|---|
| committer | Greg Stein <gstein@apache.org> | 2001-02-10 13:05:29 +0000 |
| commit | bb282b75f71256a00c110d39842e7bc3b83958a6 (patch) | |
| tree | 908e5f92600f65ed10a12d85a48849108233f1ed /server/util_script.c | |
| parent | faf8ec67da5b7c3555bbb46c21341249c85ca336 (diff) | |
| download | httpd-bb282b75f71256a00c110d39842e7bc3b83958a6.tar.gz | |
Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't
- use apr_want.h where possible
- use APR_HAVE_ where possible
- remove some unneeded includes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_script.c')
| -rw-r--r-- | server/util_script.c | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/server/util_script.c b/server/util_script.c index 7ca5869a5b..9b4975c487 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -56,9 +56,19 @@ * University of Illinois, Urbana-Champaign. */ +#include "apr.h" +#include "apr_lib.h" +#include "apr_strings.h" + +#define APR_WANT_STRFUNC +#include "apr_want.h" + +#if APR_HAVE_STDLIB_H +#include <stdlib.h> +#endif + #define CORE_PRIVATE #include "ap_config.h" -#include "apr_strings.h" #include "httpd.h" #include "http_config.h" #include "http_main.h" @@ -69,18 +79,6 @@ #include "util_script.h" #include "util_date.h" /* For parseHTTPdate() */ #include "util_ebcdic.h" -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#endif -#ifdef HAVE_STRING_H -#include <string.h> -#endif -#ifdef HAVE_STRINGS_H -#include <strings.h> -#endif -#ifdef HAVE_ARPA_INET_H -#include <arpa/inet.h> -#endif #ifdef OS2 #define INCL_DOS |
