From f508cbeaad62b3cdc77cb295ce105c3527ba019c Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 2 Feb 2022 15:12:16 -0400 Subject: io.c: Add include for ``. This is used by the delay code in `get_key()`. --- io.c | 3 +++ 1 file changed, 3 insertions(+) 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 +#endif #define BETWEEN(x, a, b) ((a) <= (x) && (x) <= (b)) #define DEFAULT(a, b) (a) = (a) ? (a) : (b) -- cgit v1.2.3-13-gbd6f