diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2013-05-13 15:55:47 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-05-14 10:09:52 -0400 |
commit | ec08f334820921c2843c37b0b1795748aea37c87 (patch) | |
tree | 719cf82c8e10b90256131c5b4db7f329d2d178f8 | |
parent | 7123388b201f71c21d786558496104bf55641351 (diff) |
move subsurface-server-protocol.h include out of compositor.h
The subsurface-server-protocol.h header should not be included
by any headers that are part of the SDK since it is not exported.
Otherwise, SDK consumers will break during compilation.
Move this include from compositor.h to compositor.c.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=64537
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
-rw-r--r-- | src/compositor.c | 1 | ||||
-rw-r--r-- | src/compositor.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor.c b/src/compositor.c index c1f90ca..c16bf0c 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -56,6 +56,7 @@ #include <wayland-server.h> #include "compositor.h" +#include "subsurface-server-protocol.h" #include "../shared/os-compatibility.h" #include "git-version.h" #include "version.h" diff --git a/src/compositor.h b/src/compositor.h index d7aa005..99468a1 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -35,7 +35,6 @@ extern "C" { #include "version.h" #include "matrix.h" #include "config-parser.h" -#include "subsurface-server-protocol.h" #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) |