Skip to content

Commit 7776a6b

Browse files
authored
Merge branch 'master' into master
2 parents dbff78f + c8eb992 commit 7776a6b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/anbox/cmds/check_features.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
#include "anbox/utils.h"
2020

2121
#include "cpu_features_macros.h"
22+
#if defined(CPU_FEATURES_ARCH_X86)
2223
#include "cpuinfo_x86.h"
24+
#endif
2325

2426
namespace {
2527
std::vector<std::string> cpu_whitelist = {

src/anbox/cmds/system_info.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
#include "OpenGLESDispatch/EGLDispatch.h"
3232

3333
#include "cpu_features_macros.h"
34+
#if defined(CPU_FEATURES_ARCH_X86)
3435
#include "cpuinfo_x86.h"
36+
#endif
3537

3638
namespace fs = boost::filesystem;
3739

0 commit comments

Comments
 (0)