diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c index 18197d77a74..b693305cb91 100644 --- a/sys/contrib/dev/acpica/osunixxf.c +++ b/sys/contrib/dev/acpica/osunixxf.c @@ -130,6 +130,8 @@ #include #include +#include + #define _COMPONENT ACPI_OS_SERVICES ACPI_MODULE_NAME ("osunixxf") diff --git a/sys/contrib/dev/acpica/utalloc.c b/sys/contrib/dev/acpica/utalloc.c index 4f6e15f345e..cc5fd012333 100644 --- a/sys/contrib/dev/acpica/utalloc.c +++ b/sys/contrib/dev/acpica/utalloc.c @@ -123,6 +123,7 @@ /* Local prototypes */ +#ifdef ACPI_DBG_TRACK_ALLOCATIONS static ACPI_DEBUG_MEM_BLOCK * AcpiUtFindAllocation ( void *Allocation); @@ -143,7 +144,6 @@ AcpiUtRemoveAllocation ( char *Module, UINT32 Line); -#ifdef ACPI_DBG_TRACK_ALLOCATIONS static ACPI_STATUS AcpiUtCreateList ( char *ListName,