From 1be5424711edfad3c91cbde67c8510e0e7d6ddbc Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 25 Jul 2023 13:37:31 +0200 Subject: [PATCH] Add missing include. `uint64_t` type (used by `beautifyFileSize`) need to be declared. --- include/tools.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/tools.h b/include/tools.h index 5ba923cc9..23c28e864 100644 --- a/include/tools.h +++ b/include/tools.h @@ -23,6 +23,7 @@ #include #include #include +#include namespace kiwix { @@ -217,9 +218,9 @@ std::map getNetworkInterfaces(); std::string getBestPublicIp(); /** Converts file size to human readable format. - * + * * This function will convert a number to its equivalent size using units. - * + * * @param number file size in bytes. * @return a human-readable string representation of the size, e.g., "2.3 KB", "1.8 MB", "5.2 GB". */