This is an automated email from the ASF dual-hosted git repository.

colinlee pushed a commit to branch colin_fix_compile_clang_17
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 6cd58fd285b222458ab590841b68296a1a86a10f
Author: ColinLee <[email protected]>
AuthorDate: Wed Apr 9 00:39:24 2025 +0800

    fix compile on clang 17.
---
 cpp/third_party/zlib-1.2.13/zutil.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cpp/third_party/zlib-1.2.13/zutil.c 
b/cpp/third_party/zlib-1.2.13/zutil.c
index 34129b57..8422a999 100644
--- a/cpp/third_party/zlib-1.2.13/zutil.c
+++ b/cpp/third_party/zlib-1.2.13/zutil.c
@@ -5,10 +5,11 @@
 
 /* @(#) $Id$ */
 
-#include "zutil.h"
 #ifndef Z_SOLO
 #  include "gzguts.h"
 #endif
+#include "zutil.h"
+
 
 z_const char * const z_errmsg[10] = {
     (z_const char *)"need dictionary",     /* Z_NEED_DICT       2  */

Reply via email to