[PATCH v5 1/3] pager: include stdint.h because uintmax_t is used
- From
Calvin Wan <calvinwan@google.com>
- Date
- Feb 22, 2024, 17:50 UTC
- Message-ID
- <20240222175033.1489723-2-calvinwan@google.com>
- In-Reply-To
- <cover.1696021277.git.jonathantanmy@google.com>
From: Jonathan Tan <jonathantanmy@google.com>
pager.h uses uintmax_t but does not include stdint.h. Therefore, add this include statement.
This was discovered when writing a stub pager.c file.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Calvin Wan <calvinwan@google.com> --- pager.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/pager.h b/pager.h index b77433026d..015bca95e3 100644 --- a/pager.h +++ b/pager.h @@ -1,6 +1,8 @@ #ifndef PAGER_H #define PAGER_H +#include <stdint.h> + struct child_process; const char *git_pager(int stdout_is_tty);
-- 2.44.0.rc0.258.g7320e95886-goog