fix stuff

This commit is contained in:
lizzie 2026-02-23 05:24:15 +00:00
parent f2f92055ee
commit 1831b09ea1
3 changed files with 8 additions and 7 deletions

View file

@ -14,11 +14,10 @@ extern std::atomic<bool> g_has_battery;
#elif defined(__APPLE__)
#include <TargetConditionals.h>
#if TARGET_OS_MAC
#if defined(TARGET_OS_MAC) && TARGET_OS_MAC
#include <IOKit/ps/IOPSKeys.h>
#include <IOKit/ps/IOPowerSources.h>
#endif
#elif defined(__linux__)
#include <fstream>
#include <string>