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.
This commit is contained in:
Andreas Kling 2019-07-09 14:46:23 +02:00
commit f4cec2f110
Notes: sideshowbarker 2024-07-19 13:21:36 +09:00
11 changed files with 13 additions and 11 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#include <Kernel/File.h>
#include <Kernel/FileSystem/File.h>
class Inode;