From c1aca298063713494dc6797efbf437468f4aef9a Mon Sep 17 00:00:00 2001 From: Malcolm Smith Date: Fri, 1 Mar 2024 16:00:02 +0000 Subject: [PATCH] Add missing preprocessor guard in _testexternalinspection --- Modules/_testexternalinspection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_testexternalinspection.c b/Modules/_testexternalinspection.c index 19ee3b8dd1428d..4929a7bf5a984e 100644 --- a/Modules/_testexternalinspection.c +++ b/Modules/_testexternalinspection.c @@ -352,7 +352,7 @@ ssize_t read_memory(pid_t pid, void* remote_address, size_t len, void* dst) { ssize_t total_bytes_read = 0; -#ifdef __linux__ +#if defined(__linux__) && HAVE_PROCESS_VM_READV struct iovec local[1]; struct iovec remote[1]; ssize_t result = 0;