The Harmony docs don't list the headers or dependacies for functions.
True. But at least it "tries" to list the headers and dependencies for each library. I'm using the term "tries", because to my experience that information is often not reliable.
For example for the Reset System Service Library it says:
Interface Header File: sys_reset.h
The interface to the Clock System Service is defined in the sys_reset.h header file, which is included by the sys.h header file.
Any C language source (.c) file that uses the Reset System Service must include sys.h.
First, you might notice, that it should be system.h instead of sys.h (which is a typical error in the docs).
The Reset System Service Library depends on the following modules:
• Reset Peripheral Library
• Device Control Peripheral Library
Second, if you look at sys_reset.c you may see, that it also includes the not mentioned "Device Control System Library"("system/devcon/sys_devcon.h") although it doesn't make any use of it.
Even if you ignore such small things, I can tell from other libraries that the dependencies in the docs are sometimes not correct.
But most of the time the docs are pointing you into the right direction.