add missing compat.c