projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
windefs.h is now called xcb_windefs.h - changed all includes to reflect that.Replaced...
[free-sw/xcb/libxcb]
/
src
/
xcb_conn.c
diff --git
a/src/xcb_conn.c
b/src/xcb_conn.c
index
4a50af3
..
870c438
100644
(file)
--- a/
src/xcb_conn.c
+++ b/
src/xcb_conn.c
@@
-37,12
+37,12
@@
#include "xcbint.h"
#if USE_POLL
#include <poll.h>
#include "xcbint.h"
#if USE_POLL
#include <poll.h>
-#elif !defined WIN32
+#elif !defined
_
WIN32
#include <sys/select.h>
#endif
#ifdef _WIN32
#include <sys/select.h>
#endif
#ifdef _WIN32
-#include "windefs.h"
+#include "
xcb_
windefs.h"
#else
#include <netinet/in.h>
#endif /* _WIN32 */
#else
#include <netinet/in.h>
#endif /* _WIN32 */
@@
-77,7
+77,7
@@
static int set_fd_flags(const int fd)
if(fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
return 0;
return 1;
if(fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
return 0;
return 1;
-#endif /* WIN32 */
+#endif /*
_
WIN32 */
}
static int write_setup(xcb_connection_t *c, xcb_auth_info_t *auth_info)
}
static int write_setup(xcb_connection_t *c, xcb_auth_info_t *auth_info)