sim: fix mingw builds with replacement gnulib open
authorMike Frysinger <vapier@gentoo.org>
Thu, 16 Dec 2021 07:25:21 +0000 (02:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Dec 2021 07:25:21 +0000 (02:25 -0500)
commit4095db4c9ced51193a218ff57ecd81f5be95b05e
treee880c0f785139b0b142a11c404f032e0fd11d17b
parent6628ac006d166a7e373846538a6097a3150946e9
sim: fix mingw builds with replacement gnulib open

The header shuffling in here broke the workaround for gnulib defining
"open".  Move it back before the sim-specific includes to fix.  This
is because the callback struct in the headers has an "open" member and
this file tries to call that.
sim/common/sim-io.c