From d59c796a9d639e771c62e5aceadbbacad11e719a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 28 Feb 2016 12:21:26 +0000 Subject: [PATCH] Fix builddir != srcdir The gdkprivate-wayland.h header file is included from the top-level gdk directory; this means that all included files referenced in the header must be relative to the `gdk` directory, otherwise the build will fail when the build directory is not equal to the source directory. This commit fixes a build failure under continuous: In file included from ../../gdk/gdkdisplaymanager.c:60:0: ../../gdk/wayland/gdkprivate-wayland.h:40:51: fatal error: gtk-primary-selection-client-protocol.h: No such file or directory #include "gtk-primary-selection-client-protocol.h" ^ compilation terminated. Makefile:1155: recipe for target 'libgdk_3_la-gdkdisplaymanager.lo' failed make[4]: *** [libgdk_3_la-gdkdisplaymanager.lo] Error 1 --- gdk/wayland/gdkprivate-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkprivate-wayland.h b/gdk/wayland/gdkprivate-wayland.h index a8df4dd1a0..a60c4c3bd2 100644 --- a/gdk/wayland/gdkprivate-wayland.h +++ b/gdk/wayland/gdkprivate-wayland.h @@ -37,7 +37,7 @@ #include #include "gdkinternals.h" -#include "gtk-primary-selection-client-protocol.h" +#include "wayland/gtk-primary-selection-client-protocol.h" #include "config.h"