diff --git a/Userland/Libraries/LibDiff/Format.cpp b/Userland/Libraries/LibDiff/Format.cpp index f3c4c1c7ce..da13b2eb12 100644 --- a/Userland/Libraries/LibDiff/Format.cpp +++ b/Userland/Libraries/LibDiff/Format.cpp @@ -12,6 +12,7 @@ #include #include #include +#include namespace Diff { DeprecatedString generate_only_additions(StringView text) diff --git a/Userland/Libraries/LibDiff/Format.h b/Userland/Libraries/LibDiff/Format.h index f6a83627a2..c3cba5785d 100644 --- a/Userland/Libraries/LibDiff/Format.h +++ b/Userland/Libraries/LibDiff/Format.h @@ -9,7 +9,7 @@ #include #include -#include +#include namespace Diff { diff --git a/Userland/Libraries/LibDiff/Forward.h b/Userland/Libraries/LibDiff/Forward.h new file mode 100644 index 0000000000..484bbf0dd9 --- /dev/null +++ b/Userland/Libraries/LibDiff/Forward.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2023, Shannon Booth + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +namespace Diff { + +struct Hunk; +struct HunkLocation; +struct Line; +struct Range; + +}