diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-07 07:14:40 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-23 20:01:59 +0200 |
commit | 6e6fafa6663724240e202ee95908b476e7443075 (patch) | |
tree | 3df0272e34b5c47bf23d2bd676acd9bab73d6bba /userspace/ncrypto_key.c | |
parent | 0d21420d4e3449f84ff4bd8562a33caf9ad5d63a (diff) | |
download | cryptodev-linux-6e6fafa6663724240e202ee95908b476e7443075.tar.gz cryptodev-linux-6e6fafa6663724240e202ee95908b476e7443075.tar.xz cryptodev-linux-6e6fafa6663724240e202ee95908b476e7443075.zip |
Abstract <linux/ncr.h> from <ncrypto.h> users
Let <ncrypto.h> users #include this header file alone, without caring
about <linux/ncr.h>.
To do so, set up a temporary copy of ncr.h so that the
#include <linux/ncr.h>
works at build time as well.
Diffstat (limited to 'userspace/ncrypto_key.c')
-rw-r--r-- | userspace/ncrypto_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ncrypto_key.c b/userspace/ncrypto_key.c index 924ac22..5321c78 100644 --- a/userspace/ncrypto_key.c +++ b/userspace/ncrypto_key.c @@ -3,7 +3,7 @@ #include <sys/ioctl.h> #include <string.h> #include <errno.h> -#include "../ncr.h" +#include <linux/ncr.h> #include "ncrypto.h" extern int __ncr_file_descriptor; |