From dd70ae4d0c272b5ee67c7eb599497ca053fd4c40 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 23 Aug 2020 17:02:07 -0700 Subject: [PATCH] disambiguate cmd/gvpr #includes Related to #1785. --- cmd/gvpr/Makefile.am | 1 + cmd/gvpr/gvpr.vcxproj | 4 ++-- cmd/gvpr/gvprmain.c | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cmd/gvpr/Makefile.am b/cmd/gvpr/Makefile.am index 45e3f5eea..62fe61fb6 100644 --- a/cmd/gvpr/Makefile.am +++ b/cmd/gvpr/Makefile.am @@ -6,6 +6,7 @@ SUBDIRS = lib pdfdir = $(pkgdatadir)/doc/pdf AM_CPPFLAGS = \ + -I$(top_srcdir)/lib \ -I$(top_srcdir)/lib/expr \ -I$(top_builddir)/lib/expr \ -I$(top_srcdir)/lib/gvpr \ diff --git a/cmd/gvpr/gvpr.vcxproj b/cmd/gvpr/gvpr.vcxproj index 5f1544e7f..c65a51038 100644 --- a/cmd/gvpr/gvpr.vcxproj +++ b/cmd/gvpr/gvpr.vcxproj @@ -51,7 +51,7 @@ Disabled - $(SolutionDir)windows\include;$(SolutionDir)lib\ast;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\gvpr + $(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\ast;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\gvpr _DEBUG;_WINDOWS;WIN32_DLL;GVDLL;%(PreprocessorDefinitions) true EnableFastChecks @@ -75,7 +75,7 @@ - $(SolutionDir)windows\include;$(SolutionDir)lib\ast;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\gvpr + $(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\ast;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\gvpr NDEBUG;_WINDOWS;WIN32_DLL;GVDLL;%(PreprocessorDefinitions) Level4 diff --git a/cmd/gvpr/gvprmain.c b/cmd/gvpr/gvprmain.c index e587f6f93..b791adb49 100644 --- a/cmd/gvpr/gvprmain.c +++ b/cmd/gvpr/gvprmain.c @@ -24,15 +24,15 @@ #ifdef HAVE_UNISTD_H #include #else -#include "compat_unistd.h" +#include #endif -#include "gvpr.h" +#include #ifdef DEBUG -#include "sfio.h" +#include static ssize_t outfn (void* sp, const char *buf, size_t nbyte, void* dp) { write (1, " ", 8); -- 2.40.0