diff options
Diffstat (limited to 'xorg-server/os/xstrans.c')
-rw-r--r-- | xorg-server/os/xstrans.c | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/xorg-server/os/xstrans.c b/xorg-server/os/xstrans.c index dd75ab53e..cbfdec207 100644 --- a/xorg-server/os/xstrans.c +++ b/xorg-server/os/xstrans.c @@ -1,12 +1,17 @@ -#ifdef HAVE_DIX_CONFIG_H -#include <dix-config.h> -#endif - -#define TRANS_REOPEN -#define TRANS_SERVER -#define XSERV_t -#ifndef TCPCONN -#define TCPCONN -#endif - -#include <X11/Xtrans/transport.c> +#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
+#include <X11/Xfuncproto.h>
+
+/* ErrorF is used by xtrans */
+extern _X_EXPORT void ErrorF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2);
+
+#define TRANS_REOPEN
+#define TRANS_SERVER
+#define XSERV_t
+#ifndef TCPCONN
+#define TCPCONN
+#endif
+
+#include <X11/Xtrans/transport.c>
|