sys-block/scsiping: fix build with clang16

Previous commit let this respect CC, so maybe clang
will be used now...

Closes: https://bugs.gentoo.org/870445
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-09-27 20:31:29 -04:00
parent 5f3a7d49a6
commit 4153ee687b
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
https://bugs.gentoo.org/870445
--- a/main.c
+++ b/main.c
@@ -2,2 +2,4 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <sys/ioctl.h>
#include <string.h>

View File

@@ -13,6 +13,10 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
PATCHES=(
"${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {
default