AP_Compass.h is the main header to be exported and AP_Compass.cpp its implementation. There's no need for an additional header.