From f6437cfaed1dd0acd1ec63e1c282d0e7edfa4522 Mon Sep 17 00:00:00 2001 From: davidwed <davidwe@posteo.de> Date: 周六, 07 9月 2019 21:54:13 +0800 Subject: [PATCH] Fix a compilier error with msys2-mingw64 ( ld.exe: cannot find -ldl ) (#35) --- 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