vcpkg/ports/clblas/abs-arm.patch

25 lines
678 B
Diff
Raw Normal View History

2022-10-06 06:06:50 +08:00
diff --git a/src/library/blas/gens/gemv.c b/src/library/blas/gens/gemv.c
index 9835482..8bf3476 100644
--- a/src/library/blas/gens/gemv.c
+++ b/src/library/blas/gens/gemv.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <stdio.h>
+#include <stdlib.h> // for abs(int)
#include <assert.h>
#include <math.h>
#include <clblas_stddef.h>
diff --git a/src/library/blas/gens/symv.c b/src/library/blas/gens/symv.c
index 47c8f1d..31ab3c5 100644
--- a/src/library/blas/gens/symv.c
+++ b/src/library/blas/gens/symv.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <stdio.h>
+#include <stdlib.h> // for abs(int)
#include <assert.h>
#include <math.h>
#include <clblas_stddef.h>