[libunwind] [libunwind] Remove needless `sys/uio.h` (PR #97495)

Izaak Schroeder via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 17:27:49 PDT 2024


https://github.com/izaakschroeder created https://github.com/llvm/llvm-project/pull/97495

No reference to `readv` or `writev`.

>From 03b4411534405fc4a4e9dcb5ec94afdd455a8e38 Mon Sep 17 00:00:00 2001
From: Izaak Schroeder <izaak.schroeder at gmail.com>
Date: Sun, 30 Jun 2024 13:33:38 -0700
Subject: [PATCH] [libunwind] Remove needless `sys/uio.h`

No reference to `readv` or `writev`.
---
 libunwind/src/UnwindCursor.hpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libunwind/src/UnwindCursor.hpp b/libunwind/src/UnwindCursor.hpp
index 66fe8e2a32cca..677e842d8a22b 100644
--- a/libunwind/src/UnwindCursor.hpp
+++ b/libunwind/src/UnwindCursor.hpp
@@ -36,7 +36,6 @@
 #include <errno.h>
 #include <signal.h>
 #include <sys/syscall.h>
-#include <sys/uio.h>
 #include <unistd.h>
 #define _LIBUNWIND_CHECK_LINUX_SIGRETURN 1
 #endif



More information about the cfe-commits mailing list