summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xterm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 607cf02caca..47f79d65947 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -79,6 +79,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#endif
+#ifdef XlibSpecificationRelease
+#if XlibSpecificationRelease >= 6
+#define HAVE_X11R6 1
+#endif
+#endif
+
#ifdef HAVE_X11R5
#define HAVE_X_I18N
#include <X11/Xlocale.h>