path.cpp: include its actual header with the prototype

path.h: fix that header so it can compile.
This commit is contained in:
Aaron Gyes 2022-07-09 21:04:03 -07:00
parent e63af7d006
commit 3e0f3c9f45
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,8 @@
// Implementation of the path builtin. // Implementation of the path builtin.
#include "config.h" // IWYU pragma: keep #include "config.h" // IWYU pragma: keep
#include "path.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>

View File

@ -4,6 +4,9 @@
#include <cstring> #include <cstring>
#include <cwchar> #include <cwchar>
#include "../maybe.h"
#include "../io.h"
class parser_t; class parser_t;
maybe_t<int> builtin_path(parser_t &parser, io_streams_t &streams, const wchar_t **argv); maybe_t<int> builtin_path(parser_t &parser, io_streams_t &streams, const wchar_t **argv);