A missing type declaration causes compilation failure. The patch fixes the problem by including the local header file "constant.h" This closes the referenced PR.