mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:27:35 +00:00
LibCore: Only include Account.h on Serenity in EventLoop and System
Core::Acount is only used within ``#ifdef __serenity__`` blocks in these files, so guard the inclusion of Account.h in the same way. This fixes the Android build of these files.
This commit is contained in:
parent
d6a741af6c
commit
8f38367d46
2 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,6 @@
|
|||
#include <AK/Singleton.h>
|
||||
#include <AK/TemporaryChange.h>
|
||||
#include <AK/Time.h>
|
||||
#include <LibCore/Account.h>
|
||||
#include <LibCore/Event.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/LocalServer.h>
|
||||
|
@ -37,6 +36,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#ifdef __serenity__
|
||||
# include <LibCore/Account.h>
|
||||
|
||||
extern bool s_global_initializers_ran;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue