summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch')
-rw-r--r--app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch b/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch
new file mode 100644
index 000000000000..1cc891bd7f08
--- /dev/null
+++ b/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/894336
+--- a/pipebench.c
++++ b/pipebench.c
+@@ -28,6 +28,8 @@
+ */
+ #include <stdio.h>
+ #include <unistd.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <time.h>
+ #include <signal.h>
+ #include <sys/time.h>