aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index cab4586..a565a05 100644
--- a/main.c
+++ b/main.c
@@ -6,6 +6,10 @@
#include <errno.h>
#include <string.h>
+#ifdef _WIN32
+#include "winconsole.h"
+#endif
+
/*
Generates a random id of length `size-1` consisting of characters in the set
[1-6] and places it in the buffer pointed to by `id`. The buffer is NULL