Skip to content

Commit

Permalink
pager: include stdint.h because uintmax_t is used
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jonathantanmy authored and calvin-wan-google committed Feb 22, 2024
1 parent 6d32954 commit 7eed9af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pager.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef PAGER_H
#define PAGER_H

#include <stdint.h>

struct child_process;

const char *git_pager(int stdout_is_tty);
Expand Down

0 comments on commit 7eed9af

Please sign in to comment.