summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 73cfc10..0f14bdc 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,6 +1,7 @@
#pragma once
#include <stdbool.h>
+#include <stdint.h>
#include <stdio.h>
#define MAX(a, b) ((a) > (b) ? (a) : (b))
@@ -34,3 +35,5 @@ char *appendstrf(char *alloc, const char *fmtstr, ...);
char *sanitized(const char *instr);
const char *timestr(unsigned int seconds);
+
+uint64_t current_ms(void);