From 657752313eccd3335111fead56e04d8b1b86e750 Mon Sep 17 00:00:00 2001 From: Massinissa Mansouri Date: Tue, 14 Apr 2026 00:39:00 +0100 Subject: [PATCH] j'ai du faire ses changement pour que ca compile sur linux --- base.h | 1 + platform.c | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base.h b/base.h index 675e2d1..cafaafb 100644 --- a/base.h +++ b/base.h @@ -9,6 +9,7 @@ #include #include #include +#include #if defined(_WIN32) || defined(_WIN64) #define PLATFORM_WINDOWS 1 diff --git a/platform.c b/platform.c index 162e985..669402c 100644 --- a/platform.c +++ b/platform.c @@ -11,6 +11,7 @@ // xxhash include #define XXH_INLINE_ALL #include "xxh_x86dispatch.h" +#include // ----------------------------- Config ------------------------------------- #define FILE_HASHES_TXT "file_hashes.txt" @@ -584,8 +585,6 @@ void scan_folder(const char *base, ScannerContext *ctx) { } #elif defined(__linux__) -To test -Choice 1 static int platform_get_file_times_fd(int dir_fd, const char *name, time_t *created, time_t *modified) { struct stat st; @@ -617,7 +616,7 @@ static int platform_get_file_owner_fd(int dir_fd, const char *name, char *owner, return 0; } return -1; - +} void scan_folder(const char *base, ScannerContext *ctx) { PathBuilder pb;