somehow timespec tv_nsec had the wrong type on x86_64... fixed

This commit is contained in:
Rich Felker 2011-04-01 20:58:40 -04:00
parent 3df3d4f512
commit 3bb00f4579
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ TYPEDEF long time_t;
TYPEDEF long useconds_t;
TYPEDEF long suseconds_t;
STRUCT timeval { time_t tv_sec; int tv_usec; };
STRUCT timespec { time_t tv_sec; unsigned long tv_nsec; };
STRUCT timespec { time_t tv_sec; long tv_nsec; };
TYPEDEF int pid_t;
TYPEDEF int id_t;