summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-08-02 20:41:58 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-08-02 20:41:58 +0000
commit250ba6300a3a5ff1521a1b849f6a2564509fe0a8 (patch)
tree721476fc8d7a7c2d80cfc4b32471c054ad07cd8a /poll
parente5b11c5a9ac54d7f29888fb0a6387832b8bda354 (diff)
downloadlibapr-250ba6300a3a5ff1521a1b849f6a2564509fe0a8.tar.gz
fix a compile break on stock FreeBSD 3.4 (gcc 2.7.2.3)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63775 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r--poll/unix/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/poll.c b/poll/unix/poll.c
index 7f02b4d9f..d28a719b3 100644
--- a/poll/unix/poll.c
+++ b/poll/unix/poll.c
@@ -117,7 +117,7 @@ APR_DECLARE(apr_status_t) apr_poll(apr_pollfd_t *aprset, apr_int32_t num,
/* XXX: I trust that this is a segv when insufficient stack exists? */
struct pollfd pollset[num];
#elif defined(HAVE_ALLOCA)
- struct pollfd *pollset = alloca(sizeof(pollfd) * num);
+ struct pollfd *pollset = alloca(sizeof(struct pollfd) * num);
if (!pollset)
return APR_ENOMEM;
#else