summaryrefslogtreecommitdiffstats
path: root/include/linux/cryptodev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cryptodev.h')
-rw-r--r--include/linux/cryptodev.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/linux/cryptodev.h b/include/linux/cryptodev.h
index 4d6b712e506..ce3840c6359 100644
--- a/include/linux/cryptodev.h
+++ b/include/linux/cryptodev.h
@@ -2,14 +2,10 @@
* cryptodev by Angelos D. Keromytis, found at openbsd cryptodev.h.
* Placed under public domain */
-#ifndef L_CRYPTODEV_H
-#define L_CRYPTODEV_H
+#ifndef _LINUX_CRYPTODEV_H
+#define _LINUX_CRYPTODEV_H
-#ifndef __KERNEL__
-#include <inttypes.h>
-#define __user
-#else
-#endif
+#include <linux/types.h>
/* API extensions for linux */
#define CRYPTO_HMAC_MAX_KEY_LEN 512
@@ -152,4 +148,4 @@ typedef enum {
#define CIOCKEY _IOWR('c', 105, struct crypt_kop)
#define CIOCASYMFEAT _IOR('c', 106, uint32_t)
-#endif /* L_CRYPTODEV_H */
+#endif /* _LINUX_CRYPTODEV_H */