From 1261ae753a982c573b5aa20466316bfb0e59c8ae Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Wed, 11 May 2016 18:32:54 +0200
Subject: [PATCH] update remote_old.c to deal with time in events

---
 common/utils/T/tracer/remote_old.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/common/utils/T/tracer/remote_old.c b/common/utils/T/tracer/remote_old.c
index 5c3a751baf..8a53e8f89d 100644
--- a/common/utils/T/tracer/remote_old.c
+++ b/common/utils/T/tracer/remote_old.c
@@ -94,7 +94,13 @@ void get_message(int s)
 
   int32_t size;
   int m;
+#ifdef T_SEND_TIME
+  struct timespec t;
+#endif
   if (GET(s, &size, 4) != 4) abort();
+#ifdef T_SEND_TIME
+  if (GET(s, &t, sizeof(struct timespec)) != sizeof(struct timespec)) abort();
+#endif
   if (GET(s, &m, sizeof(int)) != sizeof(int)) abort();
   switch (m) {
   case T_first: {
-- 
GitLab