GNOME Bugzilla – Bug 651223
Fix some compile warnings on OpenBSD
Last modified: 2011-05-28 23:01:55 UTC
Created attachment 188733 [details] [review] move arpa headers down the list as they depend on other headers Hi. Some headers reshuffling is needed on OpenBSD to prevent the following warnings. I doubt this have any "bad" side effect on other platforms. /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list Thoughts?
(In reply to comment #0) > Thoughts? Yes. Fix OpenBSD. Headers-that-have-to-be-included-in-a-certain-order are so 20th century.
(In reply to comment #1) > (In reply to comment #0) > > Thoughts? > > Yes. Fix OpenBSD. Headers-that-have-to-be-included-in-a-certain-order are so > 20th century. Yeah yeah, I don't make all the rules and as long as it makes _everyone_ happy, who cares ;-)
Annoying indeed. But since it doesn't hurt, I've committed it as 56c0d0f Fix compile warnings on OpenBSD.
Created attachment 188819 [details] [review] Fix compile warnings on OpenBSD.