From: Patrick Leis <venture@google.com>
To: laurent@vivier.eu, peter.maydell@linaro.org
Cc: qemu-devel@nongnu.org, Peter Foley <pefoley@google.com>,
Patrick Leis <venture@google.com>
Subject: [PATCH] linux-user: Add missing mmap include
Date: Mon, 28 Oct 2024 18:18:21 +0000 [thread overview]
Message-ID: <20241028181821.1440988-1-venture@google.com> (raw)
From: Peter Foley <pefoley@google.com>
error: use of undeclared identifier 'MAP_FIXED_NOREPLACE'
Signed-off-by: Patrick Leis <venture@google.com>
Signed-off-by: Peter Foley <pefoley@google.com>
---
linux-user/user-mmap.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/user-mmap.h b/linux-user/user-mmap.h
index b94bcdcf83..de769f9253 100644
--- a/linux-user/user-mmap.h
+++ b/linux-user/user-mmap.h
@@ -18,6 +18,8 @@
#ifndef LINUX_USER_USER_MMAP_H
#define LINUX_USER_USER_MMAP_H
+#include "linux/mman.h"
+
/*
* Guest parameters for the ADDR_COMPAT_LAYOUT personality
* (at present this is the only layout supported by QEMU).
--
2.47.0.163.g1226f6d8fa-goog
next reply other threads:[~2024-10-28 18:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-28 18:18 Patrick Leis [this message]
2024-11-12 15:50 ` [PATCH] linux-user: Add missing mmap include Richard Henderson
2024-11-12 16:35 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241028181821.1440988-1-venture@google.com \
--to=venture@google.com \
--cc=laurent@vivier.eu \
--cc=pefoley@google.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.