From: Martin Storsjö Date: Sat, 23 Mar 2013 21:21:35 +0000 (+0200) Subject: Use local paths for including headers in examples and tests X-Git-Tag: nettle_2.7_release_20130424~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25b7b5cc7b00888111f3306eb1b914e69c691b35;p=thirdparty%2Fnettle.git Use local paths for including headers in examples and tests This makes sure a plain "make" succeeds without doing "make install". --- diff --git a/examples/hogweed-benchmark.c b/examples/hogweed-benchmark.c index 6a7da964..f6ceda90 100644 --- a/examples/hogweed-benchmark.c +++ b/examples/hogweed-benchmark.c @@ -34,12 +34,12 @@ #include -#include -#include +#include "dsa.h" +#include "rsa.h" -#include -#include -#include +#include "nettle-meta.h" +#include "sexp.h" +#include "knuth-lfib.h" #include "../ecdsa.h" #include "../ecc-internal.h" diff --git a/testsuite/ecdsa-keygen-test.c b/testsuite/ecdsa-keygen-test.c index 4f46d0d4..7c25421a 100644 --- a/testsuite/ecdsa-keygen-test.c +++ b/testsuite/ecdsa-keygen-test.c @@ -1,5 +1,5 @@ #include "testutils.h" -#include +#include "knuth-lfib.h" /* Check if y^2 = x^3 - 3x + b */ static int