summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.c b/io.c
index a3eb061..13b7819 100644
--- a/io.c
+++ b/io.c
@@ -1,4 +1,7 @@
#include "sux.h"
+#if delay_clk && getclk && !bench
+#include <time.h>
+#endif
#define BETWEEN(x, a, b) ((a) <= (x) && (x) <= (b))
#define DEFAULT(a, b) (a) = (a) ? (a) : (b)