From 3bb00f45799ae6df48c2a00496ee57b42f7d2621 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 Apr 2011 20:58:40 -0400 Subject: [PATCH] somehow timespec tv_nsec had the wrong type on x86_64... fixed --- arch/x86_64/bits/alltypes.h.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh index b0aecd9c..d7ba25bb 100755 --- a/arch/x86_64/bits/alltypes.h.sh +++ b/arch/x86_64/bits/alltypes.h.sh @@ -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; -- 2.25.1