time_infinite const
[lttv.git] / ltt / branches / poly / ltt / time.h
index 2cce27608baaf2aaecf5969cdb72efdb6caf7482..dc1cb2201bdd4b809614954b49807e1cef81075b 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef LTT_TIME_H
 #define LTT_TIME_H
 
+#include <glib.h>
+
 
 typedef struct _LttTime {
   unsigned long tv_sec;
@@ -30,6 +32,7 @@ static const unsigned long NANOSECONDS_PER_SECOND = 1000000000;
 
 static const LttTime ltt_time_zero = { 0, 0};
 
+static const LttTime ltt_time_infinite = { G_MAXUINT, G_MAXUINT };
 
 static inline LttTime ltt_time_sub(LttTime t1, LttTime t2) 
 {
This page took 0.023408 seconds and 4 git commands to generate.