mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57: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
|
@ -12,7 +12,6 @@
|
|||
#include <AK/StdLibExtras.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/Account.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/System.h>
|
||||
#include <limits.h>
|
||||
|
@ -26,6 +25,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#ifdef __serenity__
|
||||
# include <LibCore/Account.h>
|
||||
# include <LibSystem/syscall.h>
|
||||
# include <serenity.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue