From e470da85f7b9426eea03d66086c2822bf29e9b05 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 3 Mar 2011 23:37:20 +0000 Subject: Some cleanups, mostly x86_64 compat plus interlocked macros --- pthread.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index f29f372..d487340 100644 --- a/pthread.h +++ b/pthread.h @@ -304,10 +304,13 @@ enum { #ifndef HAVE_STRUCT_TIMESPEC #define HAVE_STRUCT_TIMESPEC 1 +#ifndef _TIMESPEC_DEFINED +#define _TIMESPEC_DEFINED struct timespec { time_t tv_sec; long tv_nsec; }; +#endif /* _TIMESPEC_DEFINED */ #endif /* HAVE_STRUCT_TIMESPEC */ #ifndef SIG_BLOCK -- cgit v1.2.3