summaryrefslogtreecommitdiff
path: root/Kernel/Storage
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2023-01-07 13:52:06 -0700
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-21 10:43:59 -0700
commit100fb38c3e4e0299a2fb4f8b84be7cc7e8cb43e7 (patch)
tree7fef0724da31a40ce9051dff4b79ccc83020f9c9 /Kernel/Storage
parentddea37b52113b4cdbb20a7063d2e062bc7ee83c3 (diff)
downloadserenity-100fb38c3e4e0299a2fb4f8b84be7cc7e8cb43e7.zip
Kernel+Userland: Move LibC/sys/ioctl_numbers to Kernel/API/Ioctl.h
This header has always been fundamentally a Kernel API file. Move it where it belongs. Include it directly in Kernel files, and make Userland applications include it via sys/ioctl.h rather than directly.
Diffstat (limited to 'Kernel/Storage')
-rw-r--r--Kernel/Storage/StorageDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/StorageDevice.cpp b/Kernel/Storage/StorageDevice.cpp
index af4ea96f3f..6a36f8ad3b 100644
--- a/Kernel/Storage/StorageDevice.cpp
+++ b/Kernel/Storage/StorageDevice.cpp
@@ -5,6 +5,7 @@
*/
#include <AK/StringView.h>
+#include <Kernel/API/Ioctl.h>
#include <Kernel/Debug.h>
#include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
@@ -14,7 +15,6 @@
#include <Kernel/FileSystem/SysFS/Subsystems/Devices/Storage/Directory.h>
#include <Kernel/Storage/StorageDevice.h>
#include <Kernel/Storage/StorageManagement.h>
-#include <LibC/sys/ioctl_numbers.h>
namespace Kernel {