Gabriele Contini
2019-09-07 fcd903b7461ed8021b420b9581e989756d21c2b6
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;