Move timeval struct into its own header and include it from headers where
authorHasso Tepper <hasso@dragonflybsd.org>
Wed, 18 Jun 2008 09:36:07 +0000 (09:36 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Wed, 18 Jun 2008 09:36:07 +0000 (09:36 +0000)
commit04a0f5efb8226a1f61dde490848480ace9c522d1
tree740b2f46daf56e1486872c6689cfb62d10308f3f
parent1b167821dc5a8375369782730f0af3479d1abf10
Move timeval struct into its own header and include it from headers where
needed or defined by standards plus from sys/types.h. This makes several
pkgsrc packages more happy.

Including just sys/types.h to use struct timeval works there in every BSD,
Linux and Solaris, so we can't just ignore it.

Also make struct timeval standards compilant in progress.

Inspired-by: FreeBSD
sys/sys/_timeval.h [new file with mode: 0644]
sys/sys/resource.h
sys/sys/select.h
sys/sys/time.h
sys/sys/types.h