AcessNative - Fixing for recent kernel changes
[tpg/acess2.git] / Usermode / include / time.h
index 7861255..bd7afce 100644 (file)
@@ -8,6 +8,9 @@
 #ifndef _TIME_H_
 #define _TIME_H_
 
+#include <acess/intdefs.h>
+#include <sys/types.h> // time_t
+
 struct tm
 {
         int    tm_sec;
@@ -21,5 +24,11 @@ struct tm
         int    tm_isdst;
 };
 
+#define CLOCKS_PER_SEC 1000
+
+typedef signed long long       clock_t;
+
+extern clock_t clock();
+
 #endif
 

UCC git Repository :: git.ucc.asn.au