From 29c7d2cd912dafe37d1fb0678ca3afcfefb60123 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"