include cleanups: remove unused headers and add feature test macros
add clock_adjtime, remap_file_pages, and syncfs syscall wrappers patch by Justin Cormack, with slight modification