mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-01 22:03:09 +00:00
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>
This commit is contained in:
parent
c4c154d18e
commit
5b02d5b7aa
2 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue