[gtk+] Fix builddir != srcdir



commit d59c796a9d639e771c62e5aceadbbacad11e719a
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Feb 28 12:21:26 2016 +0000

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkprivate-wayland.h b/gdk/wayland/gdkprivate-wayland.h
index a8df4dd..a60c4c3 100644
--- a/gdk/wayland/gdkprivate-wayland.h
+++ b/gdk/wayland/gdkprivate-wayland.h
@@ -37,7 +37,7 @@
 #include <xkbcommon/xkbcommon.h>
 
 #include "gdkinternals.h"
-#include "gtk-primary-selection-client-protocol.h"
+#include "wayland/gtk-primary-selection-client-protocol.h"
 
 #include "config.h"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]