Unified · Split
| @@ -18,7 +18,6 @@ · 17 unmodified lines | ||
| 18 | 18 | #include <assert.h> |
| 19 | 19 | |
| 20 | 20 | #include <X11/Xlib.h> |
| 21 | −#include <X11/extensions/Xpresent.h> | |
| 22 | 21 | #include <EGL/egl.h> |
| 23 | 22 | #include <EGL/eglext.h> |
| 24 | 23 | |
| @@ -37,9 +37,13 @@ · 36 unmodified lines | ||
| 37 | 37 | #include <X11/extensions/scrnsaver.h> |
| 38 | 38 | #include <X11/extensions/dpms.h> |
| 39 | 39 | #include <X11/extensions/shape.h> |
| 40 | −#include <X11/extensions/Xpresent.h> | |
| 41 | 40 | #include <X11/extensions/Xrandr.h> |
| 42 | 41 | |
| 42 | +#ifndef PRESENT_FUTURE_VERSION | |
| 43 | +#define PRESENT_FUTURE_VERSION 0 | |
| 44 | +#endif | |
| 45 | +#include <X11/extensions/Xpresent.h> | |
| 46 | + | |
| 43 | 47 | #include "misc/bstr.h" |
| 44 | 48 | #include "options/options.h" |
| 45 | 49 | #include "options/m_config.h" |