minimal compile fix
include proper headers to silence implicit declaration warnings