summaryrefslogtreecommitdiff
path: root/media-gfx/metapixel/files/metapixel-1.0.2-clang16-build-fix.patch
blob: 0ddc05175484124559932c02e764450183201cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Bug: https://bugs.gentoo.org/896224
--- a/getopt.c
+++ b/getopt.c
@@ -39,6 +39,8 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
+#include <unistd.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C