summaryrefslogtreecommitdiff
path: root/src/xcb_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_auth.c')
-rw-r--r--src/xcb_auth.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index ea4ad8f..21c26b8 100644
--- a/src/xcb_auth.c
+++ b/src/xcb_auth.c
@@ -36,10 +36,6 @@
#include <rpc/types.h>
#endif
-#ifdef HASXDMAUTH
-#include <X11/Xdmcp.h>
-#endif
-
#ifdef _WIN32
#include "xcb_windefs.h"
#else
@@ -52,6 +48,9 @@
#include "xcb.h"
#include "xcbint.h"
+#ifdef HASXDMAUTH
+#include <X11/Xdmcp.h>
+#endif
enum auth_protos {
#ifdef HASXDMAUTH