diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-27 20:11:10 +0200 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-27 20:11:10 +0200 |
| commit | 0e3278a087daa25cba541d7c1dae19dfd4e2d422 (patch) | |
| tree | dbd8ea7b2f3398865a396d3f425a6ab4ba4bed94 /tools/lzpack/filelist.h | |
| parent | 5bc36dfcfc64e48401a9c6472062020681b3511f (diff) | |
| download | psn00bsdk-0e3278a087daa25cba541d7c1dae19dfd4e2d422.tar.gz | |
Misc MSVC/CMake fixes, also fixed childexec example
Diffstat (limited to 'tools/lzpack/filelist.h')
| -rw-r--r-- | tools/lzpack/filelist.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/lzpack/filelist.h b/tools/lzpack/filelist.h index 5351335..f6ad478 100644 --- a/tools/lzpack/filelist.h +++ b/tools/lzpack/filelist.h @@ -4,9 +4,14 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> -#include <unistd.h> #include <limits.h> +#ifdef WIN32 +#include <windows.h> +#else +#include <unistd.h> +#endif + #ifndef MAX_PATH #define MAX_PATH PATH_MAX #endif |
