Fixes compilation with -Werror=implicit-function-declaration . Signed-off-by: Rosen Penev <rosenp@gmail.com>