httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r733495 - /httpd/httpd/trunk/support/rotatelogs.c
Date Sun, 11 Jan 2009 17:48:13 GMT
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



Mime
View raw message