handle_input_event() is used by hotkeys.h and therefore must not be static.
Added guards and a forward declaration for uaedev_config_data if it is not defined yet. Further removed obsolete extern keyword from function prototypes.
Fixed include order. Please do NEVER place _any_ includes before the inclusion of sysconfig.h and sysdeps.h!
Changed add_filesys_unit() and set_filesys_unit() to non-static and added prototypes, they are both used elsewhere, too.
marked the usage of add_filesys_unit() and set_filesys_unit() with FIXME, the functions have changed arguments now.
Moved the definition of key_t from memory.c to include/memory_uae.h, as this is a general type needed elsewhere, too.
Added defines HAS_UAEDEV_CONFIG_INFO and HAS_UAEDEV_CONFIG_DATA for optional forwarding.
Changed semaphore handling in td-posix to equal the handling in td-sdl.
Marked map_raw_keys handling with "if 0", because the corresponding options are marked with "if 0" in config.h.
Added a note to include/fpp-ieee.h explaining that the type punning done is not an extension but perfectly valid C99/C11. It's right in the standard.