--- configure.ac.orig 2024-02-05 23:51:38 UTC +++ configure.ac @@ -170,7 +170,8 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #include -#include ]], +#include +#error not on FreeBSD]], [[int ibv = IBV_WC_SEND;]])], [libiscsi_cv_HAVE_LINUX_ISER=yes],[libiscsi_cv_HAVE_LINUX_ISER=no])]) if test x"$libiscsi_cv_HAVE_LINUX_ISER" = x"yes"; then