summaryrefslogtreecommitdiffstats
path: root/userspace/ncrypto.h
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.h
parent0d21420d4e3449f84ff4bd8562a33caf9ad5d63a (diff)
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.h')
-rw-r--r--userspace/ncrypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/userspace/ncrypto.h b/userspace/ncrypto.h
index 9e32291..752824d 100644
--- a/userspace/ncrypto.h
+++ b/userspace/ncrypto.h
@@ -2,6 +2,8 @@
#ifndef __NCRYPT_H__
#define __NCRYPT_H__
+#include <linux/ncr.h>
+
#define NCR_DATA_GET_LAST 1
//#define NCR_DATA_SET_APPEND 1
#define NCR_SESSION_FINAL 1