--- cli/filelister.cpp.orig
+++ cli/filelister.cpp
@@ -24,6 +24,7 @@
#include <cstddef>
#include <cstring>
+#include <limits.h>
#ifdef _WIN32