From 176e07ce10d892fa7c7b96725b38b2fec9a1f916 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 7 Mar 2017 19:22:48 +0900 Subject: agent: Resolve conflict of util.h. * agent/Makefile.am (AM_CPPFLAGS): Remove -I$(top_srcdir)/common. * agent/call-pinentry.c, agent/call-scd.c: Follow the change. * agent/command-ssh.c, agent/command.c, agent/cvt-openpgp.c: Ditto. * agent/divert-scd.c, agent/findkey.c, agent/genkey.c: Ditto. * agent/gpg-agent.c, agent/pksign.c, agent/preset-passphrase.c: Ditto. * agent/protect-tool.c, agent/protect.c, agent/trustlist.c: Ditto. * agent/w32main.c: Ditto. -- For openpty function, we need to include util.h on some OS. We also have util.h in common/, so this change is needed. Signed-off-by: NIIBE Yutaka --- agent/call-pinentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agent/call-pinentry.c') diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index 0af1854a7..a35a3fbff 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -37,8 +37,8 @@ #include "agent.h" #include -#include "sysutils.h" -#include "i18n.h" +#include "../common/sysutils.h" +#include "../common/i18n.h" #ifdef _POSIX_OPEN_MAX #define MAX_OPEN_FDS _POSIX_OPEN_MAX -- cgit v1.2.3