aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/xstrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/xstrans.c')
-rw-r--r--xorg-server/os/xstrans.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/os/xstrans.c b/xorg-server/os/xstrans.c
index c086e225b..44ff976a9 100644
--- a/xorg-server/os/xstrans.c
+++ b/xorg-server/os/xstrans.c
@@ -2,6 +2,11 @@
#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