mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +00:00
AK: Cleanup missing includes and #ifdef evaluation
Problem: - Several files have missing includes. This results in complaints from `clang-tidy`. - `#ifdef` is followed by `#elif <value>` which evaluates to `0`. Solution: - Add missing includes. - Change to `#elif defined(<value>)`.
This commit is contained in:
parent
bbc0487ced
commit
7d8a9bdb1e
5 changed files with 10 additions and 3 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/Atomic.h>
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/kmalloc.h>
|
||||
#ifdef KERNEL
|
||||
# include <Kernel/Arch/i386/CPU.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue