diff options
Diffstat (limited to 'xorg-server/os/xstrans.c')
-rw-r--r-- | xorg-server/os/xstrans.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xorg-server/os/xstrans.c b/xorg-server/os/xstrans.c index 6348a6511..b902dc41b 100644 --- a/xorg-server/os/xstrans.c +++ b/xorg-server/os/xstrans.c @@ -5,11 +5,15 @@ #include <X11/Xfuncproto.h> /* ErrorF is used by xtrans */ -extern _X_EXPORT void +/*extern _X_EXPORT void ErrorF(const char *f, ...) -_X_ATTRIBUTE_PRINTF(1, 2); +_X_ATTRIBUTE_PRINTF(1, 2);*/ #define TRANS_REOPEN #define TRANS_SERVER #define XSERV_t +#ifndef TCPCONN +#define TCPCONN +#endif + #include <X11/Xtrans/transport.c> |