OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_p.h.in versions 1.32 and 1.33
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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;

CVSTrac 2.0.1