diff -rup lzip-1.24/main.cc lzip-1.24.1/main.cc
--- lzip-1.24/main.cc	2024-01-25 23:08:47.000000000 +0000
+++ lzip-1.24.1/main.cc	2024-03-01 23:05:38.000000000 +0000
@@ -42,8 +42,10 @@
 #if defined __MSVCRT__ || defined __OS2__ || defined __DJGPP__
 #include <io.h>
 #if defined __MSVCRT__
+#include <direct.h>
 #define fchmod(x,y) 0
 #define fchown(x,y,z) 0
+#define mkdir(name,mode) _mkdir(name)
 #define strtoull std::strtoul
 #define SIGHUP SIGTERM
 #define S_ISSOCK(x) 0
