You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2009/01/11 18:48:13 UTC

svn commit: r733495 - /httpd/httpd/trunk/support/rotatelogs.c

Author: rjung
Date: Sun Jan 11 09:48:12 2009
New Revision: 733495

URL: http://svn.apache.org/viewvc?rev=733495&view=rev
Log:
Use APR_WANT_STRFUNC and apr_want.h instead
of APR_HAVE_* and system header inclusion.

Modified:
    httpd/httpd/trunk/support/rotatelogs.c

Modified: httpd/httpd/trunk/support/rotatelogs.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/rotatelogs.c?rev=733495&r1=733494&r2=733495&view=diff
==============================================================================
--- httpd/httpd/trunk/support/rotatelogs.c (original)
+++ httpd/httpd/trunk/support/rotatelogs.c Sun Jan 11 09:48:12 2009
@@ -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