From 266ffbc3e61570d08ec0ec84394ab49eb9b44e7d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 May 2026 22:05:40 +0200 Subject: Misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libtest/mmap.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libtest/mmap.c') diff --git a/libtest/mmap.c b/libtest/mmap.c index c12594f..d8a2a60 100644 --- a/libtest/mmap.c +++ b/libtest/mmap.c @@ -5,6 +5,11 @@ #include +#if !defined(__linux__) +# errno "Don't know how to implement mmap(3), mumap(3), and mremap(3)" +#endif + + void * libtest_real_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off) { -- cgit v1.2.3-70-g09d2