mirror of git://sourceware.org/git/glibc.git
(struct timestruc_t): Define it here.
This commit is contained in:
parent
7ba15d4a78
commit
f6507e4d33
|
@ -20,14 +20,12 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
/* this is declared in <sys/time.h> not <time.h > */
|
|
||||||
#if 0
|
|
||||||
struct timestruc_t
|
struct timestruc_t
|
||||||
{
|
{
|
||||||
time_t tv_sec; /* seconds. */
|
time_t tv_sec; /* seconds. */
|
||||||
suseconds_t tv_nsec; /* and nanoseconds. */
|
suseconds_t tv_nsec; /* and nanoseconds. */
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int _nsleep (struct timestruc_t *rqtp, struct timestruc_t *rmtp);
|
extern int _nsleep (struct timestruc_t *rqtp, struct timestruc_t *rmtp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue