diff options
Diffstat (limited to 'xserver/mi/miinitext.c')
-rw-r--r-- | xserver/mi/miinitext.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xserver/mi/miinitext.c b/xserver/mi/miinitext.c index 92d6cd2f0..ca473c0f9 100644 --- a/xserver/mi/miinitext.c +++ b/xserver/mi/miinitext.c @@ -160,13 +160,21 @@ typedef void (*InitExtension)(INITARGS); #endif #ifdef MITSHM +#ifdef HAVE_X11_EXTENSIONS_SHMPROTO_H +#include <X11/extensions/shmproto.h> +#else #define _XSHM_SERVER_ #include <X11/extensions/shmstr.h> #endif +#endif #ifdef XTEST +#ifdef HAVE_X11_EXTENSIONS_XTESTPROTO_H +#include <X11/extensions/xtestproto.h> +#else #define _XTEST_SERVER_ #include <X11/extensions/XTest.h> #endif +#endif #ifdef XKB #include <X11/extensions/XKB.h> #endif |