diff options
Diffstat (limited to 'libX11/src/xcb_io.c')
-rw-r--r-- | libX11/src/xcb_io.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libX11/src/xcb_io.c b/libX11/src/xcb_io.c index 537072447..aa10f6657 100644 --- a/libX11/src/xcb_io.c +++ b/libX11/src/xcb_io.c @@ -1,6 +1,10 @@ /* Copyright (C) 2003-2006 Jamey Sharp, Josh Triplett * This file is licensed under the MIT license. See the file COPYING. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "Xlibint.h" #include "locking.h" #include "Xprivate.h" @@ -12,6 +16,9 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif #include <sys/time.h> #include <X11/Xtrans/Xtrans.h> |