diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2015-07-23 13:55:18 +0200 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2015-07-23 13:55:52 +0200 |
commit | 9e64669db3b19ce11b40e084cf2d366bfd52826f (patch) | |
tree | 6487cb8a52e87209237b7da8e2fd49dbdecff531 /os | |
parent | 75be718a55376d39b0e517da33ef7a7557ac8f20 (diff) |
Include config.h first, and add comment about Xpoll.h.
(To avoid having this header moved lower.)
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'os')
-rw-r--r-- | os/connection.c | 1 | ||||
-rw-r--r-- | os/io.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/os/connection.c b/os/connection.c index b5fa210..34458d7 100644 --- a/os/connection.c +++ b/os/connection.c @@ -69,6 +69,7 @@ in this Software without prior written authorization from The Open Group. #include "config.h" +/* include Xpoll.h early for possible FD_SETSIZE re-definition */ #include "X11/Xpoll.h" #include <stdlib.h> #include <X11/Xtrans/Xtrans.h> @@ -46,10 +46,11 @@ in this Software without prior written authorization from The Open Group. * THIS SOFTWARE. */ -#include "X11/Xpoll.h" - #include "config.h" +/* include Xpoll.h early for possible FD_SETSIZE re-definition */ +#include "X11/Xpoll.h" + #include <X11/Xtrans/Xtrans.h> #include <stdio.h> #include <errno.h> |