Having absolute path for cryptodev.h allows to compile cryptodev examples out of source tree.
Signed-off-by: Vladimir Zapolskiy <vzapols...@gmail.com> --- examples/hashcrypt_speed.c | 3 ++- examples/sha_speed.c | 3 ++- examples/speed.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/hashcrypt_speed.c b/examples/hashcrypt_speed.c index 02924b5..f5e0e40 100644 --- a/examples/hashcrypt_speed.c +++ b/examples/hashcrypt_speed.c @@ -25,7 +25,8 @@ #include <sys/time.h> #include <sys/types.h> #include <signal.h> -#include "../cryptodev.h" + +#include <crypto/cryptodev.h> static double udifftimeval(struct timeval start, struct timeval end) { diff --git a/examples/sha_speed.c b/examples/sha_speed.c index db7f5e1..f31558f 100644 --- a/examples/sha_speed.c +++ b/examples/sha_speed.c @@ -25,7 +25,8 @@ #include <sys/time.h> #include <sys/types.h> #include <signal.h> -#include "../cryptodev.h" + +#include <crypto/cryptodev.h> static double udifftimeval(struct timeval start, struct timeval end) { diff --git a/examples/speed.c b/examples/speed.c index e2985ff..1d5525c 100644 --- a/examples/speed.c +++ b/examples/speed.c @@ -24,7 +24,8 @@ #include <sys/time.h> #include <sys/types.h> #include <signal.h> -#include "../cryptodev.h" + +#include <crypto/cryptodev.h> static int si = 1; /* SI by default */ -- 1.7.2.3 _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel