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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/os/xstrans.c b/xorg-server/os/xstrans.c
index 6348a6511..2bc79e7ae 100644
--- a/xorg-server/os/xstrans.c
+++ b/xorg-server/os/xstrans.c
@@ -5,9 +5,11 @@
#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