From 3fd6ccdf7610014c11f4f5e82c3f9ce16a0945ce Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 18 Mar 2021 07:50:19 +0100 Subject: [PATCH] Include just the definition of BLASLONG rather than all of common.h --- getarch_2nd.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/getarch_2nd.c b/getarch_2nd.c index 53ecccf308..dd1f830895 100644 --- a/getarch_2nd.c +++ b/getarch_2nd.c @@ -4,7 +4,15 @@ #else #include "config_kernel.h" #endif -#include "common.h" +#if (defined(__WIN32__) || defined(__WIN64__) || defined(__CYGWIN32__) || defined(__CYGWIN64__) || defined(_WIN32) || defined(_WIN64)) && defined(__64BIT__) +typedef long long BLASLONG; +typedef unsigned long long BLASULONG; +#else +typedef long BLASLONG; +typedef unsigned long BLASULONG; +#endif + +#include "param.h" int main(int argc, char **argv) {