icp: remove global icp includes

Only include the required icp headers.  There's no need to
include sys/zfs_context.h and pull in all of the zfs headers.

Sponsored-by: https://despairlabs.com/sponsor/
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17861
This commit is contained in:
Brian Behlendorf
2025-10-30 17:41:25 -07:00
parent 913bdbf4d1
commit a49158c064
4 changed files with 5 additions and 2 deletions
+2
View File
@@ -38,6 +38,8 @@ extern "C" {
#endif
#include <sys/zfs_context.h>
#include <sys/types.h>
#include <sys/uio.h>
/* Cryptographic Mechanisms */