sys:posix:fd: replaced designated initializer with direct assignments

As the warning/error states c++ have no support to direct assign designated initializers.
I'm afraid, there is no way around this.