From e92c2a87808ec922b6bc90d5d5002ca77318f697 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Sat, 16 Dec 2017 07:18:11 +0100 Subject: Support building with legacy (pre-7.1.0) Xext proto versions. Legacy Xext proto versions are automatically detected by the main Makefile. --- nx-X11/programs/Xserver/Xext/xvdisp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nx-X11/programs/Xserver/Xext') diff --git a/nx-X11/programs/Xserver/Xext/xvdisp.c b/nx-X11/programs/Xserver/Xext/xvdisp.c index b33bfa493..6f3e3729d 100644 --- a/nx-X11/programs/Xserver/Xext/xvdisp.c +++ b/nx-X11/programs/Xserver/Xext/xvdisp.c @@ -68,8 +68,12 @@ SOFTWARE. #include "xvdix.h" #ifdef MITSHM #define _XSHM_SERVER_ +#ifdef LEGACY_XEXT_PROTO +#include +#else #include #endif +#endif #include "xvdisp.h" -- cgit v1.2.3