diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-02-02 15:12:16 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-02-02 15:12:16 -0400 |
commit | f508cbeaad62b3cdc77cb295ce105c3527ba019c (patch) | |
tree | ba1f9a734edd79fe66d2ba0d3b5d3cec7804cfef | |
parent | fa2521bdf6dd8d4b67cb075c85442dbc2b924fd2 (diff) |
io.c: Add include for `<time.h>`.
This is used by the delay code in `get_key()`.
-rw-r--r-- | io.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |