httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: cvs commit: apache-1.3/src/support ab.c
Date Tue, 21 Apr 1998 03:07:55 GMT
On 21 Apr 1998 jim@hyperreal.org wrote:

> jim         98/04/20 18:41:57
> 
>   Modified:    src/support ab.c
>   Log:
>   PR: 2081
>   Obtained from: Jens Schleusener <Jens.Schleusener@dlr.de>
>   Submitted by:	Jim Jagielski
>   AIX requires sys/select.h
>   

It isn't just AIX.  We really need a better way for related programs to
gram system-specific settings.

Including conf.h is probably nearly almost kinda sorta safe but it doesn't
do us any good because we still need to define the OS type which we can't.

>   Revision  Changes    Path
>   1.5       +3 -1      apache-1.3/src/support/ab.c
>   
>   Index: ab.c
>   ===================================================================
>   RCS file: /export/home/cvs/apache-1.3/src/support/ab.c,v
>   retrieving revision 1.4
>   retrieving revision 1.5
>   diff -u -r1.4 -r1.5
>   --- ab.c	1998/03/31 12:53:45	1.4
>   +++ ab.c	1998/04/21 01:41:57	1.5
>   @@ -99,8 +99,10 @@
>    #include <sys/time.h>
>    #include <sys/ioctl.h>
>    #include <sys/socket.h>
>   -#include <sys/ioctl.h>
>    #include <netinet/in.h>
>   +#ifdef AIX
>   +#include <sys/select.h>
>   +#endif
>    
>    /* ------------------- DEFINITIONS -------------------------- */
>    
>   
>   
>   
> 


Mime
View raw message