Except for that line where @elextr commented, it looks good to me.
As a separate PR we could probably remove the inconsistently guarded `sys/types.h` usage and replace with GLib typedefs as well.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/677#issuecomment-145713433