From 27697627cb0c3f3af735aebb892c7bad111fe6db Mon Sep 17 00:00:00 2001 From: lurumdare <8020186+lurumdare@users.noreply.github.com> Date: 周六, 07 9月 2019 20:40:25 +0800 Subject: [PATCH] const everywhere (#30) --- 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