diff --git a/minitar.h b/minitar.h index d9ccac5..b89e4d8 100644 --- a/minitar.h +++ b/minitar.h @@ -10,7 +10,15 @@ #define MINITAR_H #include #include +#include + +#ifdef _MSC_VER +typedef unsigned int mode_t; +typedef unsigned int gid_t; +typedef unsigned int uid_t; +#else #include +#endif struct minitar { diff --git a/src/util.c b/src/util.c index 5cc7d4c..fda30a8 100644 --- a/src/util.c +++ b/src/util.c @@ -13,7 +13,6 @@ #include #include #include -#include #ifndef __TINYC__ #include