gen: adapt posix header for feign