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
+3
View File
@@ -1,6 +1,9 @@
libicp_la_CCASFLAGS = $(AM_CCASFLAGS)
libicp_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) $(LIBRARY_CFLAGS)
libicp_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBZPOOL_CPPFLAGS)
libicp_la_CPPFLAGS += -I$(top_srcdir)/module/icp/include
noinst_LTLIBRARIES += libicp.la
nodist_libicp_la_SOURCES = \