summaryrefslogtreecommitdiffstats
path: root/sys/crypto
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2008-01-15 18:34:47 +0000
committersobomax <sobomax@FreeBSD.org>2008-01-15 18:34:47 +0000
commitccb885253e11a500ca1ddd474fdbc952e67480ee (patch)
treee443c11f7686fc11ef9768731491baa13a3a302b /sys/crypto
parentb00d558d00d204771598eb590cfcf983657e0b1a (diff)
downloadFreeBSD-src-ccb885253e11a500ca1ddd474fdbc952e67480ee.zip
FreeBSD-src-ccb885253e11a500ca1ddd474fdbc952e67480ee.tar.gz
Make test00 compilable again.
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/rijndael/rijndael-api.c2
-rw-r--r--sys/crypto/rijndael/test00.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/crypto/rijndael/rijndael-api.c b/sys/crypto/rijndael/rijndael-api.c
index 9a7fda3..47de142 100644
--- a/sys/crypto/rijndael/rijndael-api.c
+++ b/sys/crypto/rijndael/rijndael-api.c
@@ -30,7 +30,9 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
+#ifdef _KERNEL
#include <sys/systm.h>
+#endif
#include <crypto/rijndael/rijndael.h>
diff --git a/sys/crypto/rijndael/test00.c b/sys/crypto/rijndael/test00.c
index f7a534a..57613a4 100644
--- a/sys/crypto/rijndael/test00.c
+++ b/sys/crypto/rijndael/test00.c
@@ -34,7 +34,7 @@
#include <sys/param.h>
#include <sys/types.h>
-#include <crypto/rijndael/rijndael.h>
+#include <crypto/rijndael/rijndael-api-fst.h>
#define LL 32
int
OpenPOWER on IntegriCloud