summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/linux/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/glue-include/linux/time.h')
-rw-r--r--pfinet/glue-include/linux/time.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pfinet/glue-include/linux/time.h b/pfinet/glue-include/linux/time.h
new file mode 100644
index 00000000..4973c4ab
--- /dev/null
+++ b/pfinet/glue-include/linux/time.h
@@ -0,0 +1,10 @@
+#ifndef _HACK_TIME_H_
+#define _HACK_TIME_H_
+
+#include <sys/time.h>
+#include "mapped-time.h"
+
+#define do_gettimeofday(tp) maptime_read (mapped_time, (tp))
+#define get_fast_time(tp) maptime_read (mapped_time, (tp))
+
+#endif