vcpkg/ports/clblas/abs-arm.patch
2022-10-05 15:06:50 -07:00

25 lines
678 B
Diff

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>