diff --git a/fns.h b/fns.h index e8dec18b83..bfe8c47616 100644 --- a/fns.h +++ b/fns.h @@ -1,6 +1,7 @@ // -//void sigaction(); -//void sigemptyset(); +/* +void sigaction(); +void sigemptyset(); // void* memcpy(); @@ -8,3 +9,4 @@ void* memmove(); void* memset(); unsigned long strlen(const char*); char* strerror(int); +*/ diff --git a/vlib/compiler/cheaders.v b/vlib/compiler/cheaders.v index df326d6fe5..8172c77dd6 100644 --- a/vlib/compiler/cheaders.v +++ b/vlib/compiler/cheaders.v @@ -6,13 +6,18 @@ CommonCHeaders = ' #include // TODO remove all these includes, define all function signatures and types manually #include -#include "fns.h" + +//#include "fns.h" +#include #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.