Merge "<sys/time.h> should include [most of] <sys/select.h>."

This commit is contained in:
Elliott Hughes 2015-07-20 17:36:52 +00:00 committed by Gerrit Code Review
commit e5544ae1f8

View File

@ -25,6 +25,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _SYS_TIME_H_
#define _SYS_TIME_H_
@ -32,6 +33,9 @@
#include <sys/types.h>
#include <linux/time.h>
/* POSIX says <sys/time.h> gets you most of <sys/select.h> and may get you all of it. */
#include <sys/select.h>
__BEGIN_DECLS
extern int gettimeofday(struct timeval *, struct timezone *);