From 55d1b9027f032d351b0f1713981ee53bc92247fe Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 28 Jul 2020 06:42:32 +0000 Subject: [PATCH] [TD-992] --- src/os/src/detail/osMem.c | 1 + src/os/src/detail/osTimer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/os/src/detail/osMem.c b/src/os/src/detail/osMem.c index 1aee0813e7..93943c6543 100644 --- a/src/os/src/detail/osMem.c +++ b/src/os/src/detail/osMem.c @@ -13,6 +13,7 @@ * along with this program. If not, see . */ +#define _DEFAULT_SOURCE #include "os.h" #include "tulog.h" diff --git a/src/os/src/detail/osTimer.c b/src/os/src/detail/osTimer.c index 4074c50289..e0a2e90314 100644 --- a/src/os/src/detail/osTimer.c +++ b/src/os/src/detail/osTimer.c @@ -13,6 +13,7 @@ * along with this program. If not, see . */ +#define _DEFAULT_SOURCE #include "os.h" #include "taosdef.h" #include "tglobal.h"