You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/04/27 06:22:58 UTC
cvs commit: apache-2.0/src/support logresolve.c rotatelogs.c
rbb 00/04/26 21:22:58
Modified: src/support logresolve.c rotatelogs.c
Log:
Fix some compile breaks in the support directory. These have not been
tested, but they do compile at least.
Revision Changes Path
1.6 +2 -1 apache-2.0/src/support/logresolve.c
Index: logresolve.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/support/logresolve.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- logresolve.c 2000/04/25 21:18:04 1.5
+++ logresolve.c 2000/04/27 04:22:57 1.6
@@ -39,8 +39,9 @@
* that one of these matches the original address.
*/
-#include "apr.h"
+#include "ap_config.h"
#include <ctype.h>
+#include <stdio.h>
#if !defined(MPE) && !defined(BEOS) && !defined(WIN32)
#include <arpa/inet.h>
1.5 +2 -1 apache-2.0/src/support/rotatelogs.c
Index: rotatelogs.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/support/rotatelogs.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rotatelogs.c 2000/03/31 09:42:55 1.4
+++ rotatelogs.c 2000/04/27 04:22:57 1.5
@@ -71,8 +71,9 @@
#include <time.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdio.h>
-void main (int argc, char **argv)
+int main (int argc, char **argv)
{
char buf[BUFSIZE], buf2[MAX_PATH];
time_t tLogEnd = 0;