From aaf0e29619196a283fee7ead2020a91032d84f48 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 3 Nov 2013 09:56:02 -0800 Subject: Disable DRI3 and sync fence FD functions if xshmfence isn't available Make sure the server can build when the xshmfence library isn't present Signed-off-by: Keith Packard --- dri3/dri3.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dri3') diff --git a/dri3/dri3.h b/dri3/dri3.h index 7774c8757..7c0c33018 100644 --- a/dri3/dri3.h +++ b/dri3/dri3.h @@ -23,6 +23,10 @@ #ifndef _DRI3_H_ #define _DRI3_H_ +#include + +#ifdef DRI3 + #include #include @@ -56,4 +60,6 @@ typedef struct dri3_screen_info { extern _X_EXPORT Bool dri3_screen_init(ScreenPtr screen, dri3_screen_info_ptr info); +#endif + #endif /* _DRI3_H_ */ -- cgit v1.2.3