summaryrefslogtreecommitdiffstats
path: root/userspace/ncrypto_key.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-07 07:14:40 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-23 20:01:59 +0200
commit6e6fafa6663724240e202ee95908b476e7443075 (patch)
tree3df0272e34b5c47bf23d2bd676acd9bab73d6bba /userspace/ncrypto_key.c
parent0d21420d4e3449f84ff4bd8562a33caf9ad5d63a (diff)
downloadcryptodev-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.c2
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;