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/06/08 01:56:18 UTC

cvs commit: apache-2.0/src/lib/apr/time/unix time.c timestr.c

rbb         00/06/07 16:56:17

  Modified:    src/lib/apr/time/unix time.c timestr.c
  Log:
  Both of these need apr_private.h in order to include the correct headers.
  
  Revision  Changes    Path
  1.27      +4 -0      apache-2.0/src/lib/apr/time/unix/time.c
  
  Index: time.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/unix/time.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- time.c	2000/06/07 23:23:51	1.26
  +++ time.c	2000/06/07 23:56:14	1.27
  @@ -55,9 +55,13 @@
   #include "apr_portable.h"
   #include "apr_time.h"
   #include "apr_lib.h"
  +#include "apr_private.h"
   /* System Headers required for time library */
   #if HAVE_SYS_TIME_H
   #include <sys/time.h>
  +#endif
  +#if HAVE_UNISTD_H
  +#include <unistd.h>
   #endif
   #if HAVE_TIME_H
   #include <time.h>
  
  
  
  1.16      +1 -0      apache-2.0/src/lib/apr/time/unix/timestr.c
  
  Index: timestr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/unix/timestr.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- timestr.c	2000/06/07 22:32:51	1.15
  +++ timestr.c	2000/06/07 23:56:15	1.16
  @@ -55,6 +55,7 @@
   #include "apr_portable.h"
   #include "apr_time.h"
   #include "apr_lib.h"
  +#include "apr_private.h"
   /* System Headers required for time library */
   #if HAVE_SYS_TIME_H
   #include <sys/time.h>