diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-09 14:46:23 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-09 15:04:45 +0200 |
commit | f4cec2f11086a355f01c616ba9cb092d56c0319f (patch) | |
tree | 9c08cca195f01bafa0da81a15c13fd6c12837688 /Kernel/Devices/Device.h | |
parent | 6c87d3afa95121cdecb41552b9571253b3dca31b (diff) | |
download | serenity-f4cec2f11086a355f01c616ba9cb092d56c0319f.zip |
Kernel: Move File.{cpp,h} into FileSystem/
Also tweak the kernel's Makefile to use -nostdinc and -nostdinc++.
This prevents us from picking up random headers from ../Root, which may
include older versions of kernel headers.
Since we still need <initializer_list> for Vector, we specifically include
the necessary GCC path. This is a bit hackish but it works for now.
Diffstat (limited to 'Kernel/Devices/Device.h')
-rw-r--r-- | Kernel/Devices/Device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/Device.h b/Kernel/Devices/Device.h index 3b2256cf64..fbe899b55c 100644 --- a/Kernel/Devices/Device.h +++ b/Kernel/Devices/Device.h @@ -9,7 +9,7 @@ // There are two main subclasses: // - BlockDevice (random access) // - CharacterDevice (sequential) -#include <Kernel/File.h> +#include <Kernel/FileSystem/File.h> #include <Kernel/UnixTypes.h> class Device : public File { |