Bug 511978

Summary: getdents_filter.c:18:5: error: unknown type name 'off64_t'; did you mean 'off_t'?
Product: [Developer tools] valgrind Reporter: Mingli <mingli.yu>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mark
Priority: NOR    
Version First Reported In: 3.26 GIT   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: a proposed fix for off64_t not defined

Description Mingli 2025-11-12 01:55:57 UTC
When build with musl, the build fails as below.

getdents_filter.c:18:5: error: unknown type name 'off64_t'; did you mean 'off_t'?
   18 |     off64_t  d_off;
      |     ^~~~~~~
      |     off_t
make[5]: *** [Makefile:920: getdents_filter.o] Error 1
Comment 1 Mingli 2025-11-12 02:52:43 UTC
Created attachment 186717 [details]
a proposed fix for off64_t not defined
Comment 2 Mark Wielaard 2025-11-12 10:12:50 UTC
I think the "fix" in https://bugs.kde.org/show_bug.cgi?id=511548 is a slightly nicer solution.

*** This bug has been marked as a duplicate of bug 511548 ***