summaryrefslogtreecommitdiff
path: root/Kernel/Devices/Device.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-09 14:46:23 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-09 15:04:45 +0200
commitf4cec2f11086a355f01c616ba9cb092d56c0319f (patch)
tree9c08cca195f01bafa0da81a15c13fd6c12837688 /Kernel/Devices/Device.h
parent6c87d3afa95121cdecb41552b9571253b3dca31b (diff)
downloadserenity-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.h2
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 {