summaryrefslogtreecommitdiffstats
path: root/server/gen_test_char.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2016-08-19 18:34:14 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2016-08-19 18:34:14 +0200
commit12d873689cb6940177327d8bca31bfec0439e37a (patch)
tree8f87c2855e1cdc7bb54f5656a3686010b82b5526 /server/gen_test_char.c
parentResolve Netware (and other arch) build error for non-portable isascii() (diff)
downloadapache2-12d873689cb6940177327d8bca31bfec0439e37a.tar.xz
apache2-12d873689cb6940177327d8bca31bfec0439e37a.zip
Generally, the cart comes before the horse, this mirrors apr_lib.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756937 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/gen_test_char.c')
-rw-r--r--server/gen_test_char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/gen_test_char.c b/server/gen_test_char.c
index 7138a784e5..7c90b68429 100644
--- a/server/gen_test_char.c
+++ b/server/gen_test_char.c
@@ -16,6 +16,7 @@
#ifdef CROSS_COMPILE
+#include <ctype.h>
#define apr_isalnum(c) (isalnum(((unsigned char)(c))))
#define apr_isalpha(c) (isalpha(((unsigned char)(c))))
#define apr_iscntrl(c) (iscntrl(((unsigned char)(c))))
@@ -25,7 +26,6 @@
#else
#define apr_isascii(c) (((c) & ~0x7f)==0)
#endif
-#include <ctype.h>
#define APR_HAVE_STDIO_H 1
#define APR_HAVE_STRING_H 1