trawick 2002/09/20 03:42:37
Modified: . configure.in
poll/unix poll.c
Log:
include <alloca.h> on any system that has it, not just on Tru64
Revision Changes Path
1.482 +1 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.481
retrieving revision 1.482
diff -u -r1.481 -r1.482
--- configure.in 10 Sep 2002 09:11:20 -0000 1.481
+++ configure.in 20 Sep 2002 10:42:37 -0000 1.482
@@ -898,6 +898,7 @@
AC_HEADER_STDC
APR_FLAG_HEADERS(
+ alloca.h \
ByteOrder.h \
conio.h \
crypt.h \
1.32 +1 -2 apr/poll/unix/poll.c
Index: poll.c
===================================================================
RCS file: /home/cvs/apr/poll/unix/poll.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- poll.c 9 Sep 2002 22:02:16 -0000 1.31
+++ poll.c 20 Sep 2002 10:42:37 -0000 1.32
@@ -64,8 +64,7 @@
#if HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
-#if HAVE_ALLOCA && defined(__osf__)
-/* Tru64 UNIX requires this for proper alloca operation in threaded programs
*/
+#if HAVE_ALLOCA_H
#include <alloca.h>
#endif