From d2983668300dd2a598e5a7dc40e71ce0678cc270 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 15 Aug 2026 10:43:41 -0700 Subject: [PATCH] Fix cpuid include on 7.2+ kernels (#53) --- smu.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/smu.c b/smu.c index 3636bb6..e6bf768 100755 --- a/smu.c +++ b/smu.c @@ -8,6 +8,18 @@ #include #include +#ifdef __has_include +#if __has_include() +#include +#elif __has_include() +#include +#else +#include +#endif +#else +#include +#endif + #include "smu.h" static struct {