From df7b2fcd2a0940a8828c7a65558e5edea6e8f24b Mon Sep 17 00:00:00 2001 From: trompetin17 Date: Wed, 23 Jul 2025 09:17:27 -0500 Subject: [PATCH] Win: include for isalpha without PCH Building the workspace with `--without-pch` fails on MSVC: source/lib/sysdep/os/win/acpi.cpp(123): error C3861: 'isalpha': identifier not found The pre-compiled header normally brings in ``, but when PCH generation is disabled the translation unit must include the header explicitly. Add the missing `#include ` to `source/lib/sysdep/os/win/acpi.cpp`. No functional change; the code now compiles cleanly with or without PCH. --- source/lib/sysdep/os/win/acpi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/lib/sysdep/os/win/acpi.cpp b/source/lib/sysdep/os/win/acpi.cpp index fa91e3a3dd..874200d547 100644 --- a/source/lib/sysdep/os/win/acpi.cpp +++ b/source/lib/sysdep/os/win/acpi.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2024 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -29,6 +29,7 @@ #include "lib/sysdep/os/win/wfirmware.h" #include +#include #pragma pack(1)