<sys/{_iovec,_timespec,_timeval}.h>: Namespace cleanup.
commit6ecfb2faec4c2a98c30079c69c9ba5d51cf549f7
authorSascha Wildner <saw@online.de>
Thu, 9 Feb 2017 19:12:00 +0000 (9 20:12 +0100)
committerSascha Wildner <saw@online.de>
Thu, 9 Feb 2017 19:12:18 +0000 (9 20:12 +0100)
tree1f8cf36307bc8f8c6ce9d4d7f209da1efd1a1fd4
parent3f961ece4626f910cf274e27f255e24543169152
<sys/{_iovec,_timespec,_timeval}.h>: Namespace cleanup.

Don't include the full <sys/types.h>.

Include <machine/stdint.h> and derive the types which <sys/_timespec.h>
and <sys/_timeval.h> need from the __* versions.

<sys/_iovec.h> just needs __size_t, which is in <machine/stdint.h>.

This commit also fixes a circular #include where <sys/_timeval.h>
was including <sys/types.h> and vice versa.
sys/sys/_iovec.h
sys/sys/_timespec.h
sys/sys/_timeval.h
sys/sys/types.h