diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index af2f3a825..ddb35ebf1 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -302,7 +302,8 @@ do done -scst_03_public_headers="scst/include/scst.h scst/include/scst_const.h scst/include/backport.h" +scst_03_public_headers="scst/include/scst.h scst/include/scst_const.h \ +scst/include/scst_event.h scst/include/backport.h" scst_04_main="scst/src/scst_main.c scst/src/scst_module.c scst/src/scst_priv.h" scst_05_targ="scst/src/scst_targ.c" scst_06_lib="scst/src/scst_lib.c" diff --git a/scst/src/scst_tg.c b/scst/src/scst_tg.c index 7ecf67c3e..300900b6a 100644 --- a/scst/src/scst_tg.c +++ b/scst/src/scst_tg.c @@ -21,11 +21,12 @@ #include #ifdef INSIDE_KERNEL_TREE #include +#include #else #include "scst.h" +#include "scst_event.h" #endif #include "scst_priv.h" -#include "scst_event.h" #include "scst_pres.h" struct alua_state_and_name {