apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/test proc_child.c
Date Fri, 03 Jan 2003 18:34:18 GMT
wrowe       2003/01/03 10:34:18

  Modified:    test     proc_child.c
  Log:
    We don't have no stinkin ssize_t here.  We also needed io.h to compile clean
  
  Revision  Changes    Path
  1.4       +4 -1      apr/test/proc_child.c
  
  Index: proc_child.c
  ===================================================================
  RCS file: /home/cvs/apr/test/proc_child.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- proc_child.c	28 Nov 2002 11:17:10 -0000	1.3
  +++ proc_child.c	3 Jan 2003 18:34:18 -0000	1.4
  @@ -3,12 +3,15 @@
   #if APR_HAVE_UNISTD_H
   #include <unistd.h>
   #endif
  +#if APR_HAVE_IO_H
  +#include <io.h>
  +#endif
   #include <stdlib.h>
   
   int main(void)
   {
       char buf[256];
  -    ssize_t bytes;
  +    apr_ssize_t bytes;
       
       bytes = read(STDIN_FILENO, buf, 256);
       if (bytes > 0)
  
  
  

Mime
View raw message