diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-05 19:18:09 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-05 19:18:09 +0100 |
commit | 5879cf0c50cecded79224b5207be9a83c204ccad (patch) | |
tree | 248c8b03d86b1679cfdb42b4f274839a8f981272 /method-x-vidmode.h | |
parent | Update todo (diff) | |
download | libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.gz libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.bz2 libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.xz |
Fix support for fake methods
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | method-x-vidmode.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/method-x-vidmode.h b/method-x-vidmode.h index 3612ff1..8370e86 100644 --- a/method-x-vidmode.h +++ b/method-x-vidmode.h @@ -1,7 +1,9 @@ /* See LICENSE file for copyright and license details. */ -#include <X11/Xlib.h> -#include <X11/extensions/xf86vmode.h> +#ifdef IN_LIBGAMMA_X_VIDMODE +# include <X11/Xlib.h> +# include <X11/extensions/xf86vmode.h> +#endif /** |