summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-07-17 22:47:05 +0000
committerwtc%netscape.com <devnull@localhost>2000-07-17 22:47:05 +0000
commitedfeb02e8e29d671e1c0a4951f16cc60c6269d77 (patch)
treed184175a982d9abc57c3c567744b4a9c81d41c48
parentb83041c4e4eee2d8020d6f24d9e249704101c605 (diff)
downloadnspr-hg-SeaMonkey_M17_BASE.tar.gz
Bugzilla bug #45683: define FD_SETSIZE to be 4096. This patch isSeaMonkey_M17_RELEASESeaMonkey_M17_BASE
contributed by Jerry Kirk <Jerry.Kirk@nexwarecorp.com>. (NSPRPUB_CLIENT_BRANCH)
-rw-r--r--pr/include/md/_nto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pr/include/md/_nto.h b/pr/include/md/_nto.h
index c3720ab3..c23d9f8a 100644
--- a/pr/include/md/_nto.h
+++ b/pr/include/md/_nto.h
@@ -46,6 +46,9 @@
#define PR_HAVE_POSIX_NAMED_SHARED_MEMORY
#define _PR_HAVE_POSIX_SEMAPHORES
+#define FD_SETSIZE 4096
+#include <sys/time.h>
+#include <sys/types.h>
#include <sys/select.h>
#undef HAVE_STACK_GROWING_UP
@@ -190,9 +193,6 @@ struct _MDCPU {
** We wrapped the select() call. _MD_SELECT refers to the built-in,
** unwrapped version.
*/
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/select.h>
#define _MD_SELECT select
#endif /* nspr_nto_defs_h___ */