summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/gnumake/4.2/glibc-2.33-glob.patch
blob: d3e424d1c499b560cffae9d27af1c81162267037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git glob/glob.c glob/glob.c
index 924f2b3..d4ef0c5 100644
--- glob/glob.c
+++ glob/glob.c
@@ -212,8 +212,8 @@ my_realloc (p, n)
 # define __alloca	alloca
 
 
-#ifndef __GNU_LIBRARY__
 # define __stat stat
+#ifndef __GNU_LIBRARY__
 # ifdef STAT_MACROS_BROKEN
 #  undef S_ISDIR
 # endif
-- 
2.31.1