aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/xstrans.c
blob: 30de32b1e171ffe9256311defa83aa2c8e32646f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include <X11/Xfuncproto.h>

/* ErrorF is used by xtrans */
/*#ifndef HAVE_DIX_CONFIG_H
extern _X_EXPORT void
ErrorF(const char *f, ...)
_X_ATTRIBUTE_PRINTF(1, 2);
#endif*/

#define TRANS_REOPEN
#define TRANS_SERVER
#define XSERV_t
#ifndef TCPCONN
#define TCPCONN
#endif
#ifdef WIN32
#undef SO_REUSEADDR
#define SO_BINDRETRYCOUNT 0  // do not try to bind again when it fails, this will speed up searching for a free listening port
#endif

#include <X11/Xtrans/transport.c>