summaryrefslogtreecommitdiff
path: root/media-gfx/dcraw/files/dcraw-9.28.0-fix-LC_CTYPE-undeclared.patch
blob: eb41892dee119b24a4bdd61adf3453e2f8f5d54d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
In musl this is not pulled in automatically

Bug: https://bugs.gentoo.org/713220
Bug: https://bugs.gentoo.org/896204

#  Pascal Jäger <pascal.jaeger@leimstift.de> (2023-09-22)

--- a/dcraw.c
+++ b/dcraw.c
@@ -41,6 +41,7 @@
 #include <string.h>
 #include <time.h>
 #include <sys/types.h>
+#include <locale.h>
 
 #if defined(DJGPP) || defined(__MINGW32__)
 #define fseeko fseek