Include config.h and compat.h in common.h, and include common.h from all source files.
The process API provides the system-specific implementation, the adb API uses it to expose adb commands.