--- src/c/arch/unix/cursesw/dpy.c
+++ src/c/arch/unix/cursesw/dpy.c
@@ -12,6 +12,8 @@
#define KEY_TIMEOUT (KEY_MAX + 1)
+typedef uint64_t u_int64_t;
+
#if defined A_ITALIC
static bool has_italics = false;
#endif