When building trunk or 1.5.x on OpenBSD-5.0 (and maybe others), I get
*LOTS* of the following:
> /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
This is trivial to fix by including netinet/in.h before arpa/inet.h (see
attached patch).
The patch applies cleanly to both the trunk and the 1.5 branch (perhaps
to hold back until 1.6)
-Paul
--
Paul H. Hargrove PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
|