From afc5a44446f7030ec49d62fe9bf69bccd4e5d7bd Mon Sep 17 00:00:00 2001 From: vit9696 Date: Tue, 8 May 2018 03:02:07 +0300 Subject: [PATCH] Fix Linux compilation --- common/ffsparser.cpp | 4 ++++ common/nvramparser.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index bafcc85..1f52d56 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -14,7 +14,11 @@ WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include +#ifdef __WIN32__ // To workaround PRIX64 issues #include +#else +#include +#endif #include "descriptor.h" #include "ffs.h" diff --git a/common/nvramparser.cpp b/common/nvramparser.cpp index ece7282..16c7edb 100644 --- a/common/nvramparser.cpp +++ b/common/nvramparser.cpp @@ -12,7 +12,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. */ +#ifdef __WIN32__ // To workaround PRIX64 issues #include +#else +#include +#endif #include #include "nvramparser.h"