1From 7baf35b88d742032a2dc456c396843e17e866f8e Mon Sep 17 00:00:00 2001
2From: Ming Liu <peter.x.liu@external.atlascopco.com>
3Date: Wed, 27 Jun 2018 14:04:57 +0800
4Subject: [PATCH] Include sys/time.h
5
6struct timeval is defined in sys/time.h with a musl libc.
7
8Upstream-Status: Inappropriate [musl libc specific]
9
10Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 tests/msleep.c | 4 ----
14 1 file changed, 4 deletions(-)
15
16diff --git a/tests/msleep.c b/tests/msleep.c
17index 98dbece..96f6950 100644
18--- a/tests/msleep.c
19+++ b/tests/msleep.c
20@@ -26,11 +26,7 @@
21 #include "config.h"
22 #include <stdio.h>
23 #include <stdlib.h>
24-#if defined(__FreeBSD__)
25 #include <sys/time.h>
26-#else
27-#include <time.h>
28-#endif
29 #if defined(HAVE_SYS_SELECT_H)
30 #include <sys/select.h>
31 #endif
322.7.4
33