From 82f9d834ad772b2f16b6524f679d14d8a7afe881 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周二, 10 9月 2019 23:29:10 +0800 Subject: [PATCH] fix issue #37 tests in windows --- src/library/os/os.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/library/os/os.h b/src/library/os/os.h index bd19f9d..7eea3eb 100644 --- a/src/library/os/os.h +++ b/src/library/os/os.h @@ -14,14 +14,18 @@ #include "../base/base.h" #include <stddef.h> +#include <string.h> +#include <ctype.h> +#include <sys/types.h> //definition of size_t #include <stdlib.h> #ifdef __unix__ +#include <unistd.h> #include <stdbool.h> #endif typedef enum { - NONE, VMWARE + NONE, CONTAINER, VM } VIRTUALIZATION; typedef enum { -- Gitblit v1.9.1