Fix Linux compilation

This commit is contained in:
vit9696 2018-05-08 03:02:07 +03:00
parent e0b3049bff
commit afc5a44446
2 changed files with 8 additions and 0 deletions

View File

@ -14,7 +14,11 @@ WITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <map> #include <map>
#include <algorithm> #include <algorithm>
#ifdef __WIN32__ // To workaround PRIX64 issues
#include <cinttypes> #include <cinttypes>
#else
#include <inttypes.h>
#endif
#include "descriptor.h" #include "descriptor.h"
#include "ffs.h" #include "ffs.h"

View File

@ -12,7 +12,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
*/ */
#ifdef __WIN32__ // To workaround PRIX64 issues
#include <cinttypes> #include <cinttypes>
#else
#include <inttypes.h>
#endif
#include <map> #include <map>
#include "nvramparser.h" #include "nvramparser.h"