fix compile error on patch 3.0.39
confused by .h vs .c