Some of the headers used require CONFIG_USER_ONLY.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
 system/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/system/meson.build b/system/meson.build
index c83d80fa24..2aab3e97f4 100644
--- a/system/meson.build
+++ b/system/meson.build
@@ -23,9 +23,12 @@ system_ss.add(files(
   'runstate.c',
   'tpm-hmp-cmds.c',
   'vl.c',
-  'watchpoint.c',
 ), sdl, libpmem, libdaxctl)
 
+libsystem_ss.add(files(
+  'watchpoint.c',
+))
+
 if have_tpm
   system_ss.add(files('tpm.c'))
 endif
-- 
2.43.0


Reply via email to