The type FILE_star is not defined for SOLgnu's Cstdio. It looks like 'UNTRACED REF iobuf' plays this role here. How can I design a C library wrapper using the FILE type that can be compiled both for SOLgnu and for LINUXLIBC6?