git: faf470ffdc3b - main - xform_*.c: Add headers when needed to compile standalone.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jan 2022 23:29:13 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=faf470ffdc3b9d2fe0e8d8691e2654a98bb58076
commit faf470ffdc3b9d2fe0e8d8691e2654a98bb58076
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-01-24 23:27:40 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-01-24 23:27:40 +0000
xform_*.c: Add headers when needed to compile standalone.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33994
---
sys/opencrypto/xform_aes_cbc.c | 1 +
sys/opencrypto/xform_cml.c | 1 +
sys/opencrypto/xform_deflate.c | 1 +
sys/opencrypto/xform_gmac.c | 1 +
sys/opencrypto/xform_rmd160.c | 1 +
sys/opencrypto/xform_sha1.c | 1 +
sys/opencrypto/xform_sha2.c | 1 +
7 files changed, 7 insertions(+)
diff --git a/sys/opencrypto/xform_aes_cbc.c b/sys/opencrypto/xform_aes_cbc.c
index a1e6093cccf4..833a792d0f76 100644
--- a/sys/opencrypto/xform_aes_cbc.c
+++ b/sys/opencrypto/xform_aes_cbc.c
@@ -50,6 +50,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/types.h>
#include <crypto/rijndael/rijndael.h>
#include <opencrypto/xform_enc.h>
diff --git a/sys/opencrypto/xform_cml.c b/sys/opencrypto/xform_cml.c
index 5afca93b796b..970e0fd6aa76 100644
--- a/sys/opencrypto/xform_cml.c
+++ b/sys/opencrypto/xform_cml.c
@@ -50,6 +50,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/types.h>
#include <crypto/camellia/camellia.h>
#include <opencrypto/xform_enc.h>
diff --git a/sys/opencrypto/xform_deflate.c b/sys/opencrypto/xform_deflate.c
index b295ceb2ea9b..b7b81c332bb4 100644
--- a/sys/opencrypto/xform_deflate.c
+++ b/sys/opencrypto/xform_deflate.c
@@ -50,6 +50,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/types.h>
#include <opencrypto/deflate.h>
#include <opencrypto/xform_comp.h>
diff --git a/sys/opencrypto/xform_gmac.c b/sys/opencrypto/xform_gmac.c
index 0cd5ef9b60be..3e53065c5dff 100644
--- a/sys/opencrypto/xform_gmac.c
+++ b/sys/opencrypto/xform_gmac.c
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
#include <opencrypto/gmac.h>
#include <opencrypto/xform_auth.h>
+#include <opencrypto/xform_enc.h>
/* Encryption instances */
const struct enc_xform enc_xform_aes_nist_gmac = {
diff --git a/sys/opencrypto/xform_rmd160.c b/sys/opencrypto/xform_rmd160.c
index 4814fe8d67b3..bb11de4da5ea 100644
--- a/sys/opencrypto/xform_rmd160.c
+++ b/sys/opencrypto/xform_rmd160.c
@@ -50,6 +50,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/types.h>
#include <opencrypto/rmd160.h>
#include <opencrypto/xform_auth.h>
diff --git a/sys/opencrypto/xform_sha1.c b/sys/opencrypto/xform_sha1.c
index 25bed2dc20b5..c36ba467ce8e 100644
--- a/sys/opencrypto/xform_sha1.c
+++ b/sys/opencrypto/xform_sha1.c
@@ -50,6 +50,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/types.h>
#include <crypto/sha1.h>
#include <opencrypto/xform_auth.h>
diff --git a/sys/opencrypto/xform_sha2.c b/sys/opencrypto/xform_sha2.c
index 39795bbda639..c1b55247b227 100644
--- a/sys/opencrypto/xform_sha2.c
+++ b/sys/opencrypto/xform_sha2.c
@@ -50,6 +50,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/types.h>
#include <crypto/sha2/sha224.h>
#include <crypto/sha2/sha256.h>
#include <crypto/sha2/sha384.h>