rsa: Allow different build directory.

* cipher/Makefile.am (AM_CPPFLAGS): Add mpi dirs.
* cipher/rsa.c: Change include file.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2017-07-07 21:20:56 +09:00
parent 8fd9f72e1b
commit 994d5b7075
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
# along with this program; if not, see <http://www.gnu.org/licenses/>.
## 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@\""

View File

@ -29,7 +29,7 @@
#include <string.h>
#include "util.h"
#include "mpi.h"
#include "../mpi/mpi-internal.h"
#include "mpi-internal.h"
#include "cipher.h"
#include "rsa.h"