From 3e0f3c9f4517c4f19ee07b72783d4e553629be73 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sat, 9 Jul 2022 21:04:03 -0700 Subject: [PATCH] path.cpp: include its actual header with the prototype path.h: fix that header so it can compile. --- src/builtins/path.cpp | 2 ++ src/builtins/path.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/builtins/path.cpp b/src/builtins/path.cpp index dc29a70f9..87bb6d130 100644 --- a/src/builtins/path.cpp +++ b/src/builtins/path.cpp @@ -1,6 +1,8 @@ // Implementation of the path builtin. #include "config.h" // IWYU pragma: keep +#include "path.h" + #include #include #include diff --git a/src/builtins/path.h b/src/builtins/path.h index 537234b83..6ada1130d 100644 --- a/src/builtins/path.h +++ b/src/builtins/path.h @@ -4,6 +4,9 @@ #include #include +#include "../maybe.h" +#include "../io.h" + class parser_t; maybe_t builtin_path(parser_t &parser, io_streams_t &streams, const wchar_t **argv);