From de9387a0c71999f003c458b9a548aa799b199a79 Mon Sep 17 00:00:00 2001 From: open-license-manager <rillf@maildrop.cc> Date: 周三, 17 9月 2014 06:00:39 +0800 Subject: [PATCH] comments --- 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 5d0afc0..741efe5 100644 --- a/src/library/os/os.h +++ b/src/library/os/os.h @@ -2,7 +2,7 @@ * os-dependent.hpp * * Created on: Mar 29, 2014 - * Author: devel + * */ #ifndef OS_DEPENDENT_HPP_ @@ -14,14 +14,18 @@ #include "../base/base.h" #include <stddef.h> +//definition of size_t +#include <stdlib.h> +#ifdef __unix__ #include <stdbool.h> +#endif typedef enum { NONE, VMWARE } VIRTUALIZATION; typedef enum { - ETHERNET, WIRELESS + IFACE_TYPE_ETHERNET, IFACE_TYPE_WIRELESS } IFACE_TYPE; typedef struct { -- Gitblit v1.9.1