From 5edc0819c0c4fb17beffe5ef984bee1c6b89716e Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Sat, 12 Oct 2024 15:26:10 -0700 Subject: [PATCH] Define glob64 --- third_party/musl/glob.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/third_party/musl/glob.h b/third_party/musl/glob.h index d18d25cdd..3aae69da0 100644 --- a/third_party/musl/glob.h +++ b/third_party/musl/glob.h @@ -30,5 +30,11 @@ typedef struct { int glob(const char *, int, int (*)(const char *, int), glob_t *); void globfree(glob_t *); +#ifdef _LARGEFILE64_SOURCE +#define glob64 glob +#define globfree64 globfree +#define glob64_t glob_t +#endif + COSMOPOLITAN_C_END_ #endif /* COSMOPOLITAN_THIRD_PARTY_MUSL_GLOB_H_ */