Index: source/include/platform/aclinux.h
--- source/include/platform/aclinux.h.orig
+++ source/include/platform/aclinux.h
@@ -168,7 +168,11 @@
 #define ACPI_USE_DO_WHILE_0
 #define ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS
 
+#ifdef __OpenBSD__
+#define ACPI_USE_ALTERNATE_TIMEOUT
+#endif
 
+
 #ifdef __KERNEL__
 
 #define ACPI_USE_SYSTEM_INTTYPES
@@ -325,6 +329,7 @@
 #if defined(__ia64__)    || (defined(__x86_64__) && !defined(__ILP32__)) ||\
     defined(__aarch64__) || defined(__PPC64__) ||\
     defined(__s390x__) ||\
+    defined(__sparc64__) ||\
     (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
 #define ACPI_MACHINE_WIDTH          64
 #define COMPILER_DEPENDENT_INT64    long
