Merge pull request #18536 from taosdata/fix/cpuid

fix: cpuid.h error in mac for M1 cpu type
This commit is contained in:
Shengliang Guan 2022-11-29 14:25:03 +08:00 committed by GitHub
commit 2d1ceaa6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,12 +43,12 @@ extern "C" {
#include <sys/utsname.h>
#include <sys/wait.h>
#include <termios.h>
#include <cpuid.h>
#if defined(DARWIN)
#else
#include <argp.h>
#include <sys/prctl.h>
#include <cpuid.h>
#endif
#else