From 7b1950f29fa4a73a43b71ee3c1e444fa38e296f0 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <gcontini@users.noreply.github.com>
Date: 周六, 07 9月 2019 20:06:48 +0800
Subject: [PATCH] CentOS 7 tests

---
 src/library/os/os.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/library/os/os.h b/src/library/os/os.h
index 13c52f9..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 {
@@ -31,7 +35,7 @@
 typedef struct {
 	int id;
 	char description[1024];
-	unsigned char mac_address[6];
+	unsigned char mac_address[8];
 	unsigned char ipv4_address[4];
 	IFACE_TYPE type;
 } OsAdapterInfo;

--
Gitblit v1.9.1