summaryrefslogtreecommitdiff
path: root/support/rotatelogs.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2009-01-11 17:48:12 +0000
committerRainer Jung <rjung@apache.org>2009-01-11 17:48:12 +0000
commit091fe50066c4d6c3316fa8228a7e391d8c3af65e (patch)
treec41f0b7a5325e7fcdcdb09dcd177cc9fcd18783c /support/rotatelogs.c
parentd73d0412d567722dbe5ba4fb9e86b18839b9f0f2 (diff)
downloadhttpd-091fe50066c4d6c3316fa8228a7e391d8c3af65e.tar.gz
Use APR_WANT_STRFUNC and apr_want.h instead
of APR_HAVE_* and system header inclusion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/rotatelogs.c')
-rw-r--r--support/rotatelogs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/support/rotatelogs.c b/support/rotatelogs.c
index 83ae6ceaae..0046c8722c 100644
--- a/support/rotatelogs.c
+++ b/support/rotatelogs.c
@@ -51,12 +51,8 @@
#if APR_HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#if APR_HAVE_STRING_H
-#include <string.h>
-#endif
-#if APR_HAVE_STRINGS_H
-#include <strings.h>
-#endif
+#define APR_WANT_STRFUNC
+#include "apr_want.h"
#define BUFSIZE 65536
#define ERRMSGSZ 256