http://bugs.winehq.com/show_bug.cgi?id=1572
Summary: Malformed else and use of obsolete ifreq structure/union in ifenum.c Product: Wine Version: 20030618 Platform: PC OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.com ReportedBy: Alan.Hargreaves@Sun.COM
Looking through the code, the brace on line 666 should move up to before the else clause.
Solaris since at least Solaris 8 (I have not checked earlier) has obsoleted use of the ifreq structure. The new structure is lifreq (defined in /usr/include/net/if.h). The major problem of using the ifreq structure is that the ifr_mtu union element is not defined. While possible to kludge your way around this, we should be using the lifreq union. The other option, which I will also do is to log a bug within Sun to get the ifr_mtu union element into the obsolete ifreq union (I don't like the chances of getting this done for Solaris 10, let alone backported to anything earlier).