From 994d5b707559a800a650dc7f273372f509d74780 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 7 Jul 2017 21:20:56 +0900 Subject: [PATCH] rsa: Allow different build directory. * cipher/Makefile.am (AM_CPPFLAGS): Add mpi dirs. * cipher/rsa.c: Change include file. Signed-off-by: NIIBE Yutaka --- cipher/Makefile.am | 2 +- cipher/rsa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cipher/Makefile.am b/cipher/Makefile.am index 6b923b244..bd79fbcdd 100644 --- a/cipher/Makefile.am +++ b/cipher/Makefile.am @@ -17,7 +17,7 @@ # along with this program; if not, see . ## Process this file with automake to produce Makefile.in -AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl +AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl -I$(top_srcdir)/mpi -I../mpi if ! HAVE_DOSISH_SYSTEM AM_CPPFLAGS += -DGNUPG_LIBDIR="\"$(libdir)/@PACKAGE@\"" diff --git a/cipher/rsa.c b/cipher/rsa.c index 5d7b4f763..84a1af0e5 100644 --- a/cipher/rsa.c +++ b/cipher/rsa.c @@ -29,7 +29,7 @@ #include #include "util.h" #include "mpi.h" -#include "../mpi/mpi-internal.h" +#include "mpi-internal.h" #include "cipher.h" #include "rsa.h"