From 1687afba9f90e1e7e6eef8d76562e90a03c4b21a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 5 Nov 2019 20:05:14 +0300 Subject: [PATCH] remove locale.h and unistd.h --- Makefile | 1 + vlib/compiler/cheaders.v | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) 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.