[xlibs-commit] X11/src XlibInt.c,3.41,3.42 x11_trans.c,3.2,3.3
Eric Anholt
xlibs-commit@pdx.freedesktop.org
Fri, 31 Oct 2003 16:33:18 -0800
Committed by: anholt
Update of /cvs/xlibs/X11/src
In directory pdx:/home/anholt/xlibs/X11/src
Modified Files:
XlibInt.c x11_trans.c
Log Message:
Define USE_POLL if the poll() function is available. This
causes poll() to be used instead of select(), which is
supposed to be more efficient.
Index: XlibInt.c
===================================================================
RCS file: /cvs/xlibs/X11/src/XlibInt.c,v
retrieving revision 3.41
retrieving revision 3.42
diff -u -d -r3.41 -r3.42
--- XlibInt.c 29 Oct 2003 21:40:29 -0000 3.41
+++ XlibInt.c 1 Nov 2003 00:33:15 -0000 3.42
@@ -35,6 +35,9 @@
#define NEED_EVENTS
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "Xlibint.h"
#include "x11_trans.h"
#include <X11/Xpoll.h>
Index: x11_trans.c
===================================================================
RCS file: /cvs/xlibs/X11/src/x11_trans.c,v
retrieving revision 3.2
retrieving revision 3.3
diff -u -d -r3.2 -r3.3
--- x11_trans.c 26 Sep 2003 21:07:29 -0000 3.2
+++ x11_trans.c 1 Nov 2003 00:33:15 -0000 3.3
@@ -22,6 +22,10 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define X11_t
#define TRANS_CLIENT
#include <transport.c>