summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authornipos <ni.pos@yandex.com>2023-02-25 18:53:46 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-03-04 21:34:54 -0700
commit9139515aed64909758f00c66c182cd94e05a3c2f (patch)
tree3339a111505e2d6903b06365d86a84f03eeeb9c2 /Userland/Libraries/LibCore
parent50e663f5610f36ffbdd900c56ca4f12512e95cf6 (diff)
downloadserenity-9139515aed64909758f00c66c182cd94e05a3c2f.zip
LibCore: Include sys/filio.h for file-related ioctls on Solaris
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r--Userland/Libraries/LibCore/System.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h
index 5cf3487825..ea00998ac7 100644
--- a/Userland/Libraries/LibCore/System.h
+++ b/Userland/Libraries/LibCore/System.h
@@ -35,6 +35,10 @@
# include <shadow.h>
#endif
+#ifdef AK_OS_SOLARIS
+# include <sys/filio.h>
+#endif
+
namespace Core::System {
#ifdef AK_OS_SERENITY