httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/main props.c
Date Mon, 12 Feb 2001 21:03:36 GMT
trawick     01/02/12 13:03:36

  Modified:    server   vhost.c
               modules/dav/main props.c
  Log:
  include <arpa/inet.h> for the declarations for htons() et al; OS/390 has
  macros in arpa/inet.h which turn such "calls" into nothing and does not
  have functions to link against in libc
  
  Revision  Changes    Path
  1.55      +4 -0      httpd-2.0/server/vhost.c
  
  Index: vhost.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/vhost.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- vhost.c	2001/02/10 13:05:29	1.54
  +++ vhost.c	2001/02/12 21:03:32	1.55
  @@ -77,6 +77,10 @@
   #include "http_protocol.h"
   #include "http_core.h"
   
  +#if APR_HAVE_ARPA_INET_H
  +#include <arpa/inet.h>
  +#endif
  +
   /*
    * After all the definitions there's an explanation of how it's all put
    * together.
  
  
  
  1.24      +3 -0      httpd-2.0/modules/dav/main/props.c
  
  Index: props.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/props.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- props.c	2001/01/20 11:29:35	1.23
  +++ props.c	2001/02/12 21:03:35	1.24
  @@ -184,6 +184,9 @@
   #if APR_HAVE_STDIO_H
   #include <stdio.h>              /* for sprintf() */
   #endif
  +#if APR_HAVE_ARPA_INET_H
  +#include <arpa/inet.h>          /* for ntohs(), htons() */
  +#endif
   
   #include "mod_dav.h"
   
  
  
  

Mime
View raw message