Skip to content

Commit

Permalink
include/tst_fs.h: Fix missing header
Browse files Browse the repository at this point in the history
u_int64_t requires <stdint.h>. Because used in function signature added
into the header, not to tst_fill_file.c where it's also used.

Fixes: 0f5d8c5 ("libswap.c: Check free space with correct mnt path")
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Mar 3, 2024
1 parent 0f5d8c5 commit ee628ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/tst_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
/* fs/bcachefs/bcachefs_format.h */
#define TST_BCACHE_MAGIC 0xca451a4e

#include <stdint.h>

enum tst_fill_access_pattern {
TST_FILL_BLOCKS,
TST_FILL_RANDOM
Expand Down

0 comments on commit ee628ef

Please sign in to comment.