From 56886ef4b648760667743506f4f7bed9830798e8 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 7 Feb 2008 13:11:39 +0000 Subject: Ticket #470, #471, and #472: Compile error when semaphore.h is not present, Compilation error if pthread_mutexattr_set_type() is not present, and Problem with setting up FD_SETSIZE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1783 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/sock_select.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjlib/include/pj/sock_select.h') diff --git a/pjlib/include/pj/sock_select.h b/pjlib/include/pj/sock_select.h index 8ce7a65b..ff5459b6 100644 --- a/pjlib/include/pj/sock_select.h +++ b/pjlib/include/pj/sock_select.h @@ -54,7 +54,7 @@ PJ_BEGIN_DECL */ typedef struct pj_fd_set_t { - pj_sock_t data[FD_SETSIZE + 4]; /**< Opaque buffer for fd_set */ + pj_sock_t data[PJ_IOQUEUE_MAX_HANDLES+ 4]; /**< Opaque buffer for fd_set */ } pj_fd_set_t; -- cgit v1.2.3