diff options
author | Kari Argillander <kari.argillander@gmail.com> | 2021-09-02 19:15:24 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-09-13 19:41:44 +0300 |
commit | b6ba81034b1b74cf426abcece4becda2611504a4 (patch) | |
tree | 0af74b90ae733d03f6a5230788b09c449af81745 /fs/ntfs3/lib/lib.h | |
parent | f239b3a95dd4f7daba26ea17f339a5b19a7d40a1 (diff) | |
download | linux-b6ba81034b1b74cf426abcece4becda2611504a4.tar.xz |
fs/ntfs3: Add missing header and guards to lib/ headers
size_t needs header. Add missing header guards so that compiler will
only include these ones.
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/lib/lib.h')
-rw-r--r-- | fs/ntfs3/lib/lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ntfs3/lib/lib.h b/fs/ntfs3/lib/lib.h index f508fbad2e71..90309a5ae59c 100644 --- a/fs/ntfs3/lib/lib.h +++ b/fs/ntfs3/lib/lib.h @@ -7,6 +7,10 @@ * - linux kernel code style */ +#ifndef _LINUX_NTFS3_LIB_LIB_H +#define _LINUX_NTFS3_LIB_LIB_H + +#include <linux/types.h> /* globals from xpress_decompress.c */ struct xpress_decompressor *xpress_allocate_decompressor(void); @@ -24,3 +28,5 @@ int lzx_decompress(struct lzx_decompressor *__restrict d, const void *__restrict compressed_data, size_t compressed_size, void *__restrict uncompressed_data, size_t uncompressed_size); + +#endif /* _LINUX_NTFS3_LIB_LIB_H */ |