From c5774e18b7241cc484ef9d5e17214651b9b9d439 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Mon, 7 Oct 2024 11:27:10 -0400 Subject: [PATCH] Address the Linux 6.12 move of the unaligned.h include file The Linux git commit 5f60d5f6bb moved unaligned.h from asm/unaligned.h to linux/unaligned.h. Adjusted runtime/sym.c to include the unaligned.h from the appropriate location. --- runtime/sym.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/sym.c b/runtime/sym.c index 102257965..acae95818 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -18,7 +18,11 @@ #ifdef STP_NEED_LINE_DATA #include "unwind/unwind.h" #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,12,0) +#include +#else #include +#endif #include #include #include -- 2.43.5