]> granicus.if.org Git - graphviz/commitdiff
disambiguate plugin/xlib #includes
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 29 Aug 2020 23:19:41 +0000 (16:19 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 22 Sep 2020 14:55:28 +0000 (07:55 -0700)
Related to #1785.

plugin/xlib/Makefile.am
plugin/xlib/gvdevice_xlib.c
plugin/xlib/gvplugin_xlib.c

index a6b542ea7e0c1845226e3c6d273317a3752e3865..63ff0b005ae384b89dcd437577e375e05b51f08e 100644 (file)
@@ -4,6 +4,7 @@
 pdfdir = $(pkgdatadir)/doc/pdf
 
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/lib \
        -I$(top_srcdir)/lib/common \
        -I$(top_srcdir)/lib/pathplan \
        -I$(top_srcdir)/lib/gvc \
index ed2b0e85510f79b3b5dcc97792e4e21a8e36677f..55219b10d2caaf7422bfb04ad86a37b4a1b24270 100644 (file)
@@ -42,7 +42,7 @@
 #include <poll.h>
 #endif
 
-#include "gvplugin_device.h"
+#include <gvc/gvplugin_device.h>
 
 #include <cairo.h>
 #ifdef CAIRO_HAS_XLIB_SURFACE
index b855822c53c5ebee5f5dcdba01afc5cb5545221e..14282ab7b05508e2e468dafe373cc953739582a2 100644 (file)
@@ -11,7 +11,7 @@
  * Contributors: See CVS logs. Details at http://www.graphviz.org/
  *************************************************************************/
 
-#include "gvplugin.h"
+#include <gvc/gvplugin.h>
 
 extern gvplugin_installed_t gvdevice_types_xlib[];