--- /dev/null
+diff -urN acpi_call-1.1.0.orig/acpi_call.c acpi_call-1.1.0/acpi_call.c
+--- acpi_call-1.1.0.orig/acpi_call.c 2013-07-05 18:06:13.000000000 +0200
++++ acpi_call-1.1.0/acpi_call.c 2019-12-28 23:52:40.624217110 +0100
+@@ -6,7 +6,8 @@
+ #include <linux/proc_fs.h>
+ #include <linux/slab.h>
+ #include <asm/uaccess.h>
+-#include <acpi/acpi.h>
++#include <linux/acpi.h>
++#include <linux/uaccess.h>
+
+ MODULE_LICENSE("GPL");
+
Group: Base/Kernel
Source0: https://github.com/mkottman/acpi_call/archive/v%{version}/%{pname}-%{version}.tar.gz
# Source0-md5: f69d40e130b0e5ed17ce8adb19e6dda1
+Patch0: %{pname}-build.patch
URL: https://github.com/mkottman/acpi_call
%if %{with kernel}
%if %{with dist_kernel}
%prep
%setup -q
+%patch0 -p1
%build
%if %{with kernel}