<arpa/inet.h>: Some cleanups.
commitdab9342fee9d089ccf4ff0392156e9ad4390e9b9
authorSascha Wildner <saw@online.de>
Sat, 3 Mar 2018 15:42:06 +0000 (3 16:42 +0100)
committerSascha Wildner <saw@online.de>
Sat, 3 Mar 2018 15:42:06 +0000 (3 16:42 +0100)
tree2fd270c6f1b8550a242662debaf73317cb20fdcc
parent3337d96b1e8b80db8fa506a12d6d8c1fb1ae01a7
<arpa/inet.h>: Some cleanups.

* Stop defining struct in6_addr. This doesn't belong here, and it was
  originally only added because of some issue in pkgsrc. Thanks to
  Sevan Janiyan for confirming that this no longer occurs.

* Incude <stdint.h> instead of the full <sys/types.h> and define
  in_addr_t and in_port_t per POSIX.

* Put inet_ntoa_r under __BSD_VISIBLE.

* Remove an obsolete comment.
include/arpa/inet.h
sys/sys/types.h