master/datagram.h
changeset 1040 d2527675cdd5
parent 883 4963e22a267a
child 1225 4d5b739edcb5
child 1685 399ef727bf62
--- a/master/datagram.h	Thu Jun 19 10:18:18 2008 +0000
+++ b/master/datagram.h	Thu Jun 19 10:18:58 2008 +0000
@@ -106,9 +106,13 @@
     uint8_t index; /**< Index (set by master). */
     uint16_t working_counter; /**< Working counter. */
     ec_datagram_state_t state; /**< State. */
+#ifdef EC_HAVE_CYCLES
     cycles_t cycles_sent; /**< Time, when the datagram was sent. */
+#endif
     unsigned long jiffies_sent; /**< Jiffies, when the datagram was sent. */
+#ifdef EC_HAVE_CYCLES
     cycles_t cycles_received; /**< Time, when the datagram was received. */
+#endif
     unsigned long jiffies_received; /**< Jiffies, when the datagram was
                                       received. */
     unsigned int skip_count; /**< Number of requeues when not yet received. */