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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/os/os.h b/src/library/os/os.h index d953d1a..7eea3eb 100644 --- a/src/library/os/os.h +++ b/src/library/os/os.h @@ -17,15 +17,15 @@ #include <string.h> #include <ctype.h> #include <sys/types.h> -#include <unistd.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