summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xtransint.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xtransint.h b/Xtransint.h
index 44d8b6d..b8f3b76 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -370,10 +370,11 @@ static int trans_mkdir (
#include <stdarg.h>
/*
- * The X server provides ErrorF() & VErrorF(), for other software that uses
- * xtrans, we provide our own simple versions.
+ * The X server and the font server both provide ErrorF() & VErrorF(). For
+ * other software that uses xtrans, we provide our own simple
+ * versions.
*/
-# if defined(XSERV_t) && defined(TRANS_SERVER)
+# if (defined(XSERV_t) || defined(TRANS_HAS_ERRORF)) && defined(TRANS_SERVER)
# include "os.h"
# else
static inline void _X_ATTRIBUTE_PRINTF(1, 0)