gentoo-ebuilds/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch
Brahmajit Das d19d062191
app-benchmarks/pipebench: Fix call to undeclared function atoi
Closes: https://bugs.gentoo.org/894336
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32643
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-09-25 10:04:46 +03:00

12 lines
241 B
Diff

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>