summaryrefslogtreecommitdiff
path: root/Xext/shmint.h
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/shmint.h')
-rw-r--r--Xext/shmint.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Xext/shmint.h b/Xext/shmint.h
index 21d6cc4ee..9dadea756 100644
--- a/Xext/shmint.h
+++ b/Xext/shmint.h
@@ -56,16 +56,10 @@ typedef struct _ShmFuncs {
void (*PutImage) (XSHM_PUT_IMAGE_ARGS);
} ShmFuncs, *ShmFuncsPtr;
-#include <protocol-versions.h>
-
-#if SERVER_SHM_MAJOR_VERSION == 1 && SERVER_SHM_MINOR_VERSION >= 2
+#if XTRANS_SEND_FDS
#define SHM_FD_PASSING 1
#endif
-#ifdef SHM_FD_PASSING
-#include "busfault.h"
-#endif
-
typedef struct _ShmDesc {
struct _ShmDesc *next;
int shmid;