_GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE
[musl] / include / glob.h
index 92ec751..376baa7 100644 (file)
@@ -34,7 +34,7 @@ void globfree(glob_t *);
 #define GLOB_NOMATCH 3
 #define GLOB_NOSYS   4
 
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
 #define glob64 glob
 #define globfree64 globfree
 #endif