浏览代码

Kernel: Make KResult pull in the TRY macro

Andreas Kling 3 年之前
父节点
当前提交
e1da3b1841
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Kernel/API/KResult.h

+ 2 - 1
Kernel/API/KResult.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
+ * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
  *
  * SPDX-License-Identifier: BSD-2-Clause
  */
@@ -10,6 +10,7 @@
 #include <AK/Format.h>
 #include <AK/Platform.h>
 #include <AK/StdLibExtras.h>
+#include <AK/Try.h>
 #include <LibC/errno_numbers.h>
 
 namespace Kernel {