You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@hyperreal.org on 1998/04/21 03:41:58 UTC
cvs commit: apache-1.3/src/support ab.c
jim 98/04/20 18:41:57
Modified: src/support ab.c
Log:
PR: 2081
Obtained from: Jens Schleusener <Je...@dlr.de>
Submitted by: Jim Jagielski
AIX requires sys/select.h
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 -------------------------- */
Re: cvs commit: apache-1.3/src/support ab.c
Posted by Marc Slemko <ma...@worldgate.com>.
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 <Je...@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 -------------------------- */
>
>
>
>
>