summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorHerbert Xu2006-08-06 11:49:12 +0200
committerHerbert Xu2006-09-21 03:16:30 +0200
commit9409f38a0c8773c04bff8dda8c552d7ea013d956 (patch)
tree694ad993535d6dcfd479f9b5cb4faab64c12fcd7 /net/xfrm/xfrm_user.c
parent[CRYPTO] api: Add crypto_alg reference counting (diff)
downloadkernel-qcow2-linux-9409f38a0c8773c04bff8dda8c552d7ea013d956.tar.gz
kernel-qcow2-linux-9409f38a0c8773c04bff8dda8c552d7ea013d956.tar.xz
kernel-qcow2-linux-9409f38a0c8773c04bff8dda8c552d7ea013d956.zip
[IPSEC]: Move linux/crypto.h inclusion out of net/xfrm.h
The header file linux/crypto.h is only needed by a few files so including it in net/xfrm.h (which is included by half of the networking stack) is a waste. This patch moves it out of net/xfrm.h and into the specific header files that actually need it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index 3e6a722d072e..7d18ca03c80d 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -10,6 +10,7 @@
*
*/
+#include <linux/crypto.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>