diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-03 21:14:42 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-03 21:14:42 +0200 |
commit | 9ffe8feff4bdc536f92fbee16e0ce66c077e0674 (patch) | |
tree | ea2a48cb664b67268fc1fd244ad39e1dc10a84cd | |
parent | 6fb7eeb81a06b693687a9bff0b71c66475fc6f04 (diff) | |
download | serenity-9ffe8feff4bdc536f92fbee16e0ce66c077e0674.zip |
Kernel: Only #include stuff from <LibC/...> if __serenity__ is defined
-rw-r--r-- | Kernel/Syscall.h | 5 |
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; |