diff --git a/Makefile b/Makefile index 423e869344..9bcb0ee06f 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ endif fresh_vc: rm -rf vc/ git clone --depth 1 --quiet https://github.com/vlang/vc + cp fns.h vc/fns.h fresh_tcc: ifdef WIN32 diff --git a/vlib/compiler/cheaders.v b/vlib/compiler/cheaders.v index 8d8b7b937c..df326d6fe5 100644 --- a/vlib/compiler/cheaders.v +++ b/vlib/compiler/cheaders.v @@ -9,13 +9,10 @@ CommonCHeaders = ' #include "fns.h" #include // for va_list #include // int64_t etc -//#include // memcpy #ifndef _WIN32 #include -#include // tolower #include -#include // sleep #else #if defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < __MSVCR90_DLL #error Please upgrade your MinGW distribution to use msvcr90.dll or later.