sparc64: move struct timeval to <sys/_timeval.h>

commit bb01594897 moved the struct timeval
declaration from <sys/time.h> to <sys/_timeval.h>, and commit
01885f533d changed <sys/select.h> to include
<sys/_timeval.h>.  Therefore, sparc64's own struct timeval needs to be
moved accordingly in order to avoid a conflict from the generic type.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Acked-by: Corinna Vinschen <vinschen@redhat.com>
This commit is contained in:
Yaakov Selkowitz 2016-03-18 14:10:43 -05:00
parent f049607eb0
commit 97d1536d17
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,12 @@
#ifndef _SYS_TIME_H #ifndef _SYS_TIME_H
#define _SYS_TIME_H #define _SYS_TIME_H
#include <sys/types.h> /* for time_t */ #include <machine/types.h>
#ifndef __time_t_defined
typedef _TIME_T_ time_t;
#define __time_t_defined
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {