]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix some compile breaks in the support directory. These have not been
authorRyan Bloom <rbb@apache.org>
Thu, 27 Apr 2000 04:22:57 +0000 (04:22 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 27 Apr 2000 04:22:57 +0000 (04:22 +0000)
tested, but they do compile at least.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85054 13f79535-47bb-0310-9956-ffa450edef68

support/logresolve.c
support/rotatelogs.c

index cc8ff56ff3f2c9b2fa005851e6da44f67f554504..c9f8ca2ccfd5323a7df760943d1d508fa5ba1d01 100644 (file)
@@ -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>
index 9a01e44a94d2dc6b8e8dc7aa3bf018eb415a6f96..d8316c606e950cfa0189a0ca183eedff9ac8ae6a 100644 (file)
@@ -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;