GNOME Bugzilla – Bug 604875
Use of sa_len conflicts with system header
Last modified: 2009-12-18 09:29:32 UTC
UnixWare was throwing up an error on any program that included gio/gnetworkingprivate.h ...... UX:acomp: ERROR: "/opt/src/libs/glib-2.23.0/gio/gnetworkingprivate.h", line 76:Syntax error before or at: . ...... The problem is sys/socket.h has #define sa_len sa_un.sa_s.sa_saus_len See also http://bugs.gentoo.org/show_bug.cgi?&id=292081 for a similar report on IRIX. I'll attach a patch for your consideration.
Created attachment 149961 [details] sa_len is used in sys/socket.h on soem platforms
I used just "len" rather than "g_sa_len". Pushed to git.