summaryrefslogtreecommitdiff
path: root/include/dix-config.h.in
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-07 21:08:56 -0800
committerKeith Packard <keithp@keithp.com>2013-11-12 21:03:59 +0900
commit5b02d5b7aaabf1ba8dcbdfe4525b7995b4e79f92 (patch)
treea78452a72be6250f4d83523f245f2930b225f78e /include/dix-config.h.in
parentc4c154d18ef42dc550f2675a9ee88e07b1ca6bed (diff)
Enable XTRANS_SEND_FDS on Solaris too.
Requires passing through the __EXTENSIONS__ and _XOPEN_SOURCE defines in order to expose the msg_control members in struct msghdr. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/dix-config.h.in')
-rw-r--r--include/dix-config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 9bdbe53c1..d4fbe99fa 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -449,6 +449,14 @@
#include "dix-config-apple-verbatim.h"
#endif
+/* Enable general extensions on Solaris. */
+#ifndef __EXTENSIONS__
+# undef __EXTENSIONS__
+#endif
+
+/* Defined if needed to expose struct msghdr.msg_control */
+#undef _XOPEN_SOURCE
+
/* Have support for X shared memory fence library (xshmfence) */
#undef HAVE_XSHMFENCE