diff --git a/src/stream.c b/src/stream.c index e43eace13..187d88409 100644 --- a/src/stream.c +++ b/src/stream.c @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -3456,6 +3457,15 @@ static struct action_kw_list stream_http_keywords = { ILH, { INITCALL1(STG_REGISTER, http_req_keywords_register, &stream_http_keywords); +/* Note: must not be declared as its list will be overwritten. + * Please take care of keeping this list alphabetically sorted. + */ +static struct sample_fetch_kw_list smp_kws = {ILH, { + { NULL, NULL, 0, 0, 0 }, +}}; + +INITCALL1(STG_REGISTER, sample_register_fetches, &smp_kws); + /* * Local variables: * c-indent-level: 8