diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-02 20:41:58 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-02 20:41:58 +0000 |
commit | 250ba6300a3a5ff1521a1b849f6a2564509fe0a8 (patch) | |
tree | 721476fc8d7a7c2d80cfc4b32471c054ad07cd8a /poll | |
parent | e5b11c5a9ac54d7f29888fb0a6387832b8bda354 (diff) | |
download | libapr-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.c | 2 |
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 |