summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-03 21:14:42 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-03 21:14:42 +0200
commit9ffe8feff4bdc536f92fbee16e0ce66c077e0674 (patch)
treeea2a48cb664b67268fc1fd244ad39e1dc10a84cd /Kernel/Syscall.h
parent6fb7eeb81a06b693687a9bff0b71c66475fc6f04 (diff)
downloadserenity-9ffe8feff4bdc536f92fbee16e0ce66c077e0674.zip
Kernel: Only #include stuff from <LibC/...> if __serenity__ is defined
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index d0690a676f..49478ec614 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -1,7 +1,10 @@
#pragma once
#include <AK/Types.h>
-#include <LibC/fd_set.h>
+
+#ifdef __serenity__
+# include <LibC/fd_set.h>
+#endif
extern "C" {
struct timeval;