Blame SOURCES/0001-PATCH-lldb-Portable-asm-ptrace.h-include.patch

a2e044
From 6349965eccf12178cd4235e9f8996142d12ff607 Mon Sep 17 00:00:00 2001
a2e044
From: serge-sans-paille <sguelton@redhat.com>
a2e044
Date: Thu, 25 Feb 2021 14:27:43 +0100
a2e044
Subject: [PATCH 1/2] [PATCH][lldb] Portable  asm/ptrace.h include
a2e044
a2e044
---
a2e044
 lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h | 3 ++-
a2e044
 1 file changed, 2 insertions(+), 1 deletion(-)
a2e044
a2e044
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
a2e044
index 344eae2..c483abc 100644
a2e044
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
a2e044
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
a2e044
@@ -14,7 +14,8 @@
a2e044
 #include "Plugins/Process/Linux/NativeRegisterContextLinux.h"
a2e044
 #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h"
a2e044
 
a2e044
-#include <asm/ptrace.h>
a2e044
+#include <sys/ptrace.h>
a2e044
+#include <linux/ptrace.h>
a2e044
 
a2e044
 namespace lldb_private {
a2e044
 namespace process_linux {
a2e044
-- 
a2e044
1.8.3.1
a2e044