From f4a626275713ee89ed130e10e33e5941d9ddc344 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sun, 11 Mar 2012 16:17:39 +0000 Subject: [PATCH] Also use internal __fds_bits instead of fds_bits --- cde/lib/csa/xtclient.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cde/lib/csa/xtclient.c b/cde/lib/csa/xtclient.c index 50f84f06..b42b5efc 100644 --- a/cde/lib/csa/xtclient.c +++ b/cde/lib/csa/xtclient.c @@ -69,7 +69,11 @@ _DtCm_register_xtcallback(XtAppContext appct) return; /* assuming only 1 bit is set */ +#if defined(linux) + bits = fdset.__fds_bits; +#else bits = fdset.fds_bits; +#endif for (i = 0; i < FD_SETSIZE; i += NFDBITS) { fmask = *bits; for (j = 0; fmask != 0; j++, fmask >>= 1) { -- 2.25.1