From 11f26f7ac85cc1b1b842bea4be656f7ac0f5fc7a Mon Sep 17 00:00:00 2001 From: bje Date: Mon, 10 Aug 1998 18:34:40 +0000 Subject: 1998-08-11 Ben Elliston * Makefile (LIB): Define. (clean): Define target. (all): Build a library not just the object files. * pthread.h: Provide a definition for struct timespec if we don't already have one. * windows.c (TlsGetValue): Bug fix. --- pthread.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index dc085c3..fe4b30f 100644 --- a/pthread.h +++ b/pthread.h @@ -40,6 +40,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif /* HAVE_SIGNAL_H */ +#ifndef HAVE_STRUCT_TIMESPEC +struct timespec { + int tv_sec; + int tv_nsec; +}; +#endif /* HAVE_STRUCT_TIMESPEC */ + #ifndef SIG_BLOCK #define SIG_BLOCK 0 #endif /* SIG_BLOCK */ -- cgit v1.2.3