From 774356add1a2616d182d4dd8b08392c0be0b86bc Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Sat, 7 Nov 2020 21:40:33 +0800 Subject: [PATCH] [TD-1975] : fix build issue on CentOS 7. --- src/client/src/tscSQLParser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 029e1fdb5a..f14f094e0b 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -16,6 +16,7 @@ #define _BSD_SOURCE #define _XOPEN_SOURCE 500 #define _DEFAULT_SOURCE +#define _POSIX_C_SOURCE 200809L #include "os.h" #include "qAst.h" -- GitLab