apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apr/test testmmap.c
Date Thu, 07 Dec 2000 08:06:02 GMT
Can't use APR_HAS_UNISTD_H unless you've also included "apr.h" ...

-g

On Thu, Dec 07, 2000 at 06:53:00AM -0000, wrowe@locus.apache.org wrote:
> wrowe       00/12/06 22:52:59
> 
>   Modified:    test     testmmap.c
>   Log:
>     Get ahead for win32
>   
>   Revision  Changes    Path
>   1.18      +2 -0      apr/test/testmmap.c
>   
>   Index: testmmap.c
>   ===================================================================
>   RCS file: /home/cvs/apr/test/testmmap.c,v
>   retrieving revision 1.17
>   retrieving revision 1.18
>   diff -u -r1.17 -r1.18
>   --- testmmap.c	2000/12/07 05:00:28	1.17
>   +++ testmmap.c	2000/12/07 06:52:59	1.18
>   @@ -52,7 +52,9 @@
>     * <http://www.apache.org/>.
>     */
>    
>   +#if APR_HAS_UNISTD_H
>    #include <unistd.h>
>   +#endif
>    #include <stdio.h>
>    #include <stdlib.h>
>    #include <string.h>
>   
>   
>   

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message