Include needed header file.
Use enum type instead of integer type in function signature.
Remove / move include statements.