summaryrefslogtreecommitdiff
path: root/poll/unix/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'poll/unix/poll.c')
-rw-r--r--poll/unix/poll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c
index 657625d97..9a31ecaa1 100644
--- a/poll/unix/poll.c
+++ b/poll/unix/poll.c
@@ -64,6 +64,10 @@
#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 */
+#include <alloca.h>
+#endif
#ifdef NETWARE
#define HAS_SOCKETS(dt) (dt == APR_POLL_SOCKET) ? 1 : 0