trivial fix warnings: missing #include's

Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>
trivial fix warnings: missing consts

Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>