From 18f9a95f82088e1aa0dc7b2d44293306c5b79a3c Mon Sep 17 00:00:00 2001 From: tjuzyp Date: Fri, 21 Mar 2025 12:13:05 +0800 Subject: [PATCH] ci: fix pthread_tryjoin_np compile error --- tools/taos-tools/inc/bench.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/taos-tools/inc/bench.h b/tools/taos-tools/inc/bench.h index a965984e33..0957bafded 100644 --- a/tools/taos-tools/inc/bench.h +++ b/tools/taos-tools/inc/bench.h @@ -16,8 +16,6 @@ #ifndef INC_BENCH_H_ #define INC_BENCH_H_ -#include "pub.h" - #define _GNU_SOURCE #define CURL_STATICLIB #define ALLOW_FORBID_FUNC @@ -25,6 +23,8 @@ #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b)) +#include "pub.h" + #ifdef LINUX #ifndef _ALPINE