aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/acpi_call/files/patch-acpi__call.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/acpi_call/files/patch-acpi__call.c b/sysutils/acpi_call/files/patch-acpi__call.c
index fbae58efa103..39d1785bae2d 100644
--- a/sysutils/acpi_call/files/patch-acpi__call.c
+++ b/sysutils/acpi_call/files/patch-acpi__call.c
@@ -1,5 +1,17 @@
--- acpi_call.c.orig 2011-11-07 05:35:10 UTC
+++ acpi_call.c
+@@ -29,10 +29,10 @@
+ */
+
+ #include <sys/types.h>
++#include <sys/param.h>
+ #include <sys/module.h>
+ #include <sys/systm.h>
+ #include <sys/errno.h>
+-#include <sys/param.h>
+ #include <sys/kernel.h>
+ #if __FreeBSD__ >= 8
+ # include <contrib/dev/acpica/include/acpi.h>
@@ -45,18 +45,97 @@
void acpi_call_fixup_pointers(ACPI_OBJECT *p, UINT8 *orig);