summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorbje <bje>1998-08-10 18:34:40 +0000
committerbje <bje>1998-08-10 18:34:40 +0000
commit11f26f7ac85cc1b1b842bea4be656f7ac0f5fc7a (patch)
tree60edac9412c14fdee0eb5b4a014e4f7607b49dfd /pthread.h
parent9b0e93aa59205fa6e35f0d8e5c2065c6e806f114 (diff)
1998-08-11 Ben Elliston <bje@cygnus.com>pre-compiled-auug99
* 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.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h7
1 files changed, 7 insertions, 0 deletions
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 <signal.h>
#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 */