Commit 49a24d8d authored by Chocobo1's avatar Chocobo1

Fix compilation with MSVC.

MSVC doesn't have unistd.h
parent 08b3fe48
......@@ -22,7 +22,11 @@
#include <locale.h>
#include <errno.h>
#include <sys/types.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#if defined WIN32 || defined _WIN32
#include <process.h>
#endif
......
......@@ -24,7 +24,10 @@
#include <time.h>
#include <errno.h>
#include <string.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#include "vcut.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment