Include header file in implementation module. Declarations of public functions was in header files, but header files was not included in implementation file.
Make leak checks usable in tests that do not utilize check * Remove check-specific failure reporting from common_check.c * Check-specific abstraction over memleak checks * Rename common_check.c to leak_check.c
Fix build when check-devel is not installed tests/common.c is now required by all tests (check-based and not), so we need to properly ifdef it