httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@hyperreal.org
Subject cvs commit: apache-1.3/src/support logresolve.c
Date Tue, 21 Apr 1998 20:03:30 GMT
jim         98/04/21 13:03:29

  Modified:    src/support logresolve.c
  Log:
  Again, use conf.h since we have it. Too bad
  no one else noticed that support's Makefile includes ./src/include
  or else this would have been fixed a long time ago, I'm sure
  
  Revision  Changes    Path
  1.11      +2 -8      apache-1.3/src/support/logresolve.c
  
  Index: logresolve.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/logresolve.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- logresolve.c	1998/04/21 01:39:30	1.10
  +++ logresolve.c	1998/04/21 20:03:23	1.11
  @@ -39,18 +39,12 @@
    * that one of these matches the original address.
    */
   
  -
  +#include "conf.h"
   #include <sys/types.h>
   
   #include <ctype.h>
  -#include <netdb.h>
   #include <string.h>
  -#include <stdio.h>
  -#include <stdlib.h>
  -
  -#include <sys/socket.h>
   
  -#include <netinet/in.h>
   #ifndef MPE
   #include <arpa/inet.h>
   #endif
  @@ -71,7 +65,7 @@
   /* number of buckets in cache hash table */
   #define BUCKETS 256
   
  -#if defined(MPE) || defined(NEXT)
  +#if defined(NEED_STRDUP)
   char *strdup (const char *str)
   {
       char *dup;
  
  
  

Mime
View raw message