aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/xcb_auth.c')
-rw-r--r--libxcb/src/xcb_auth.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/libxcb/src/xcb_auth.c b/libxcb/src/xcb_auth.c
index c0ad90267..104f2f07b 100644
--- a/libxcb/src/xcb_auth.c
+++ b/libxcb/src/xcb_auth.c
@@ -27,19 +27,12 @@
#include <assert.h>
#include <X11/Xauth.h>
-#include <X11/Xwinsock.h>
-#include <stdlib.h>
-#ifndef _MSC_VER
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <sys/param.h>
#include <unistd.h>
-#else
-typedef unsigned in_addr_t;
-#define MAXPATHLEN 255
-#define snprintf _snprintf
-#endif
+#include <stdlib.h>
#include "xcb.h"
#include "xcbint.h"
@@ -48,10 +41,6 @@ typedef unsigned in_addr_t;
#include <X11/Xdmcp.h>
#endif
-#ifndef HAVE_GETADDRINFO
-#include "dummyin6.h"
-#endif
-
enum auth_protos {
#ifdef HASXDMAUTH
AUTH_XA1,