From faf470ffdc3b9d2fe0e8d8691e2654a98bb58076 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 24 Jan 2022 15:27:40 -0800 Subject: [PATCH] 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 __FBSDID("$FreeBSD$"); +#include #include #include 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 __FBSDID("$FreeBSD$"); +#include #include #include 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 __FBSDID("$FreeBSD$"); +#include #include #include 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 #include +#include /* 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 __FBSDID("$FreeBSD$"); +#include #include #include 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 __FBSDID("$FreeBSD$"); +#include #include #include 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 __FBSDID("$FreeBSD$"); +#include #include #include #include