diff options
Diffstat (limited to 'method-x-vidmode.h')
-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 /** |