This allows *BSD systems that support kqueue (including macOS) to have working file change notifications when configuring wine `--with-inotify` and linking against https://github.com/libinotify-kqueue/libinotify-kqueue
-- v2: server: Add cross-platform get_path_from_fd function.