ossp-pkg/pth/pth_p.h.in 1.32 -> 1.33
--- pth_p.h.in 2002/10/20 11:45:10 1.32
+++ pth_p.h.in 2002/10/23 14:04:00 1.33
@@ -104,6 +104,14 @@
#endif
#endif
+/* fallback definition for struct timespec */
+#ifndef HAVE_STRUCT_TIMESPEC
+struct timespec {
+ time_t tv_sec; /* seconds */
+ long tv_nsec; /* and nanoseconds */
+};
+#endif
+
/* compiler happyness: avoid ``empty compilation unit'' problem */
#define COMPILER_HAPPYNESS(name) \
int __##name##_unit = 0;
|
|