diff options
author | Thierry Reding <treding@nvidia.com> | 2014-04-09 12:18:23 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-07-09 11:44:57 +0200 |
commit | 473c73f8026790be57959933e39c246a0a631a8f (patch) | |
tree | 46329211a9e69cfc6068eec6ec08a74264ee7ffc | |
parent | 0440a07aa83d3fca521e79222ab89a04148564bf (diff) |
Make compat-api.h standalone includible
The header file requires some symbols defined in X.Org server headers to
determine what compatibility macros to define. Make sure that those
headers are always included to prevent build breakage.
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | src/compat-api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h index df783a8..bef28ed 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -28,6 +28,9 @@ #ifndef COMPAT_API_H #define COMPAT_API_H +#include <xorg/glyphstr.h> +#include <xorg/xf86.h> + #ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR #define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum] #define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p |