aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_auth.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-24 16:26:20 +0000
committermarha <marha@users.sourceforge.net>2009-09-24 16:26:20 +0000
commit82967ab5e087a2fdfcb984f990ba117da68a5b60 (patch)
tree52ca72e09a0d1d0ecacfb51a8b0b5d1c8193449c /libxcb/src/xcb_auth.c
parentf02db4f3b9d748e1fd06e3ae2985b9cf1547cc7e (diff)
parent67b353c9ce039b254ba2e92cd6f842c505a8bd21 (diff)
downloadvcxsrv-82967ab5e087a2fdfcb984f990ba117da68a5b60.tar.gz
vcxsrv-82967ab5e087a2fdfcb984f990ba117da68a5b60.tar.bz2
vcxsrv-82967ab5e087a2fdfcb984f990ba117da68a5b60.zip
svn merge https://vcxsrv.svn.sourceforge.net/svnroot/vcxsrv/branches/released
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,