From c1a3085939d8ac9e13c49eb6d9f5e673e8c680bf Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Sat, 29 Oct 2022 19:07:49 +0200 Subject: [PATCH] Fix UNIX builds --- frontend/drivers/platform_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/drivers/platform_unix.c b/frontend/drivers/platform_unix.c index 6ddb69d507..a28216d418 100644 --- a/frontend/drivers/platform_unix.c +++ b/frontend/drivers/platform_unix.c @@ -1047,7 +1047,7 @@ static bool frontend_unix_powerstate_check_acpi( bool have_battery = false; bool have_ac = false; bool charging = false; - struct RDIR *entry = retro_opendir(proc_acpi_battery_path); + struct RDIR *entry = retro_opendir(PROC_ACPI_BATTERY_PATH); if (!entry) return false;