Module Name:    xsrc
Committed By:   mrg
Date:           Fri Jul 17 06:57:38 UTC 2015

Modified Files:
        xsrc/external/mit/xproto/dist: Xpoll.h.in

Log Message:
move the define of FD_SETSIZE before the include of select.h, so that
is actually does something useful.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 xsrc/external/mit/xproto/dist/Xpoll.h.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xproto/dist/Xpoll.h.in
diff -u xsrc/external/mit/xproto/dist/Xpoll.h.in:1.1.1.4 xsrc/external/mit/xproto/dist/Xpoll.h.in:1.2
--- xsrc/external/mit/xproto/dist/Xpoll.h.in:1.1.1.4	Fri Jul 17 01:48:13 2015
+++ xsrc/external/mit/xproto/dist/Xpoll.h.in	Fri Jul 17 06:57:38 2015
@@ -56,6 +56,12 @@ from The Open Group.
 
 #include <X11/Xos.h>
 
+#define XFD_SETSIZE	512
+
+#ifndef FD_SETSIZE
+#define FD_SETSIZE	XFD_SETSIZE
+#endif
+
 #include <sys/select.h>  /* Get the FD_* macros. */
 
 #include <X11/Xmd.h>
@@ -67,12 +73,6 @@ typedef long fd_mask;
 # endif
 #endif
 
-#define XFD_SETSIZE	512
-
-#ifndef FD_SETSIZE
-#define FD_SETSIZE	XFD_SETSIZE
-#endif
-
 #ifndef NBBY
 #define NBBY	8		/* number of bits in a byte */
 #endif

Reply via email to