aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/sol2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/sol2.h')
-rw-r--r--src/s/sol2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h
index 02560df0f5..3218e9ff6b 100644
--- a/src/s/sol2.h
+++ b/src/s/sol2.h
@@ -41,3 +41,9 @@ access(2), but in the meantime, some of us need the right behavior. */
people keep saying that it doesn't work, and that the patch is easy
to install. Patch number is 100947-02. */
#undef SOLARIS_BROKEN_ACCESS
+
+/* We can't use Xt from X11R6 with ralloc.c, because Xt
+ includes libthread.so and that calls sbrk directly. */
+#if defined (USE_X_TOOLKIT) && defined (HAVE_X11XTR6)
+#undef REL_ALLOC
+#endif