wsanchez 00/01/25 20:36:03
Modified: src/support logresolve.c Log: BeOS lacks <arpa/inet.h>. Submitted by: David Reid <[EMAIL PROTECTED]> Revision Changes Path 1.18 +7 -1 apache-1.3/src/support/logresolve.c Index: logresolve.c =================================================================== RCS file: /home/cvs/apache-1.3/src/support/logresolve.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- logresolve.c 1999/12/07 04:54:45 1.17 +++ logresolve.c 2000/01/26 04:36:00 1.18 @@ -45,8 +45,14 @@ #include <ctype.h> #ifndef MPE +#ifndef BEOS #include <arpa/inet.h> -#endif +#else +/* BeOS lacks the necessary files until we get the new networking */ +#include <netinet/in.h> +#define NO_ADDRESS 4 +#endif /* BEOS */ +#endif /* MPE */ static void cgethost(struct in_addr ipnum, char *string, int check); static int getline(char *s, int n);