diff --git a/src/kit/shell/src/shellCommand.c b/src/kit/shell/src/shellCommand.c
index 9bf182ab0e7cbbe0be007d024c6a832902a3232b..46aa04c1d73f43e9279536b4ac31ea7c2dc0dbeb 100644
--- a/src/kit/shell/src/shellCommand.c
+++ b/src/kit/shell/src/shellCommand.c
@@ -13,16 +13,8 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-
#define __USE_XOPEN
-#include
-
#include "os.h"
#include "shell.h"
#include "shellCommand.h"
diff --git a/src/kit/shell/src/shellEngine.c b/src/kit/shell/src/shellEngine.c
index 34f51e3b3f1136b2e0a876aa882b86f07857236a..e2897da698b3891ddcf06e8ba17813008bef10d8 100644
--- a/src/kit/shell/src/shellEngine.c
+++ b/src/kit/shell/src/shellEngine.c
@@ -16,16 +16,6 @@
#define _XOPEN_SOURCE
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
#include "shell.h"
#include "shellCommand.h"
diff --git a/src/kit/shell/src/shellLinux.c b/src/kit/shell/src/shellLinux.c
index 145025cbe1c1230ecf7a40df6a14d76dd19d9cff..0ece4efbb2a923a81fef4cdcf05c78ccbfe6c47d 100644
--- a/src/kit/shell/src/shellLinux.c
+++ b/src/kit/shell/src/shellLinux.c
@@ -13,27 +13,9 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#define __USE_XOPEN
-#include
+#include "os.h"
#include "shell.h"
#include "shellCommand.h"
diff --git a/src/kit/shell/src/shellMain.c b/src/kit/shell/src/shellMain.c
index 63c9eac0db5ddb5001a5516df29f674b4d94c19c..82333020f15fd1c1c760c5efb5e29080c9311201 100644
--- a/src/kit/shell/src/shellMain.c
+++ b/src/kit/shell/src/shellMain.c
@@ -13,13 +13,6 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
#include "shell.h"
#include "tsclient.h"
diff --git a/src/modules/http/src/httpServer.c b/src/modules/http/src/httpServer.c
index 49ff3562bfce15e594c2033881474d591cfc92a1..ae8f9eeaaded7da8fe316aee08705644f2967c3f 100644
--- a/src/modules/http/src/httpServer.c
+++ b/src/modules/http/src/httpServer.c
@@ -13,23 +13,7 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "taosmsg.h"
#include "tlog.h"
diff --git a/src/os/linux/inc/os.h b/src/os/linux/inc/os.h
index 6ecb64eda5b173acd205080318ab95527af9547b..dc3dc1cfdfd991ed7f340e153ee6cc49f45d71e8 100644
--- a/src/os/linux/inc/os.h
+++ b/src/os/linux/inc/os.h
@@ -23,6 +23,7 @@ extern "C" {
#include
#include
+#include
#include
#include
#include
@@ -31,6 +32,7 @@ extern "C" {
#include
#include
#include
+#include
#include
#include
#include
@@ -41,9 +43,12 @@ extern "C" {
#include
#include
#include
+#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -55,7 +60,9 @@ extern "C" {
#include
#include
#include
+#include
#include
+#include
#include
#include
#include
@@ -65,6 +72,7 @@ extern "C" {
#include
#include
+
#define taosCloseSocket(x) \
{ \
if (VALIDFD(x)) { \
diff --git a/src/rpc/src/thaship.c b/src/rpc/src/thaship.c
index 4cc6feeea3355724cf73249cc16920e870604bcc..2c46e53258968df951fc00c4270036c08c076270 100644
--- a/src/rpc/src/thaship.c
+++ b/src/rpc/src/thaship.c
@@ -13,14 +13,6 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
#include "tlog.h"
#include "tmempool.h"
diff --git a/src/rpc/src/tmsghdr.c b/src/rpc/src/tmsghdr.c
index 960d1fc5f6a534f9de9055ac5b2590a98e31f8d2..a46f182b1d21b31e08c040b4990e74a27971b46e 100644
--- a/src/rpc/src/tmsghdr.c
+++ b/src/rpc/src/tmsghdr.c
@@ -13,10 +13,7 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
+#include "os.h"
void taosFreeMsgHdr(void *hdr) {
struct msghdr *msgHdr = (struct msghdr *)hdr;
diff --git a/src/rpc/src/trpc.c b/src/rpc/src/trpc.c
index 41c628e169be5413b0021622a0e857ca5dc03bf4..de21598dd92c54ca83c8e575ebbf45d035af01ea 100644
--- a/src/rpc/src/trpc.c
+++ b/src/rpc/src/trpc.c
@@ -13,16 +13,8 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
+
#include "shash.h"
#include "taosmsg.h"
#include "tidpool.h"
diff --git a/src/rpc/src/ttcpclient.c b/src/rpc/src/ttcpclient.c
index e12f1e1728ec96a97326b5278c7ac997a0f6b89c..8e6f91a66158722afc3b601538a21554ad847d50 100644
--- a/src/rpc/src/ttcpclient.c
+++ b/src/rpc/src/ttcpclient.c
@@ -13,15 +13,6 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
#include "taosmsg.h"
#include "tlog.h"
diff --git a/src/rpc/src/ttcpserver.c b/src/rpc/src/ttcpserver.c
index b6b0e07230773fdf6633cba5b1b90ac37091c9a6..04078abb648debb86229d831e4801da56770e4b6 100644
--- a/src/rpc/src/ttcpserver.c
+++ b/src/rpc/src/ttcpserver.c
@@ -13,16 +13,6 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
#include "taosmsg.h"
#include "tlog.h"
diff --git a/src/rpc/src/tudp.c b/src/rpc/src/tudp.c
index 1940c89e85eecee1c8fa116cbe621ec9a0de9874..7a4961f90c2b7d71991ece4d4d64afac32e33fd6 100644
--- a/src/rpc/src/tudp.c
+++ b/src/rpc/src/tudp.c
@@ -13,15 +13,6 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "os.h"
#include "taosmsg.h"
#include "thash.h"
diff --git a/src/sdb/src/hashstr.c b/src/sdb/src/hashstr.c
index 1a9a7fefb4f1f2eafd6aa485f6217811841ddbce..4b9aa3392853424618e574b03a50b17a51f2b320 100644
--- a/src/sdb/src/hashstr.c
+++ b/src/sdb/src/hashstr.c
@@ -13,13 +13,7 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "tsdb.h"
#define MAX_STR_LEN 40
diff --git a/src/sdb/src/sdbEngine.c b/src/sdb/src/sdbEngine.c
index 59e3d7e0398f0c1af175f867b7408fe3db545d84..326e9a4df2fcfbaf6b86567737c8c6c282a73d9a 100644
--- a/src/sdb/src/sdbEngine.c
+++ b/src/sdb/src/sdbEngine.c
@@ -13,19 +13,7 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "sdb.h"
#include "sdbint.h"
diff --git a/src/system/detail/inc/mgmt.h b/src/system/detail/inc/mgmt.h
index 1d1f325ec2db81edecf5bbac0aea064d4fd96c11..702eb008758a2974990db5ada64dd4d92bc6be04 100644
--- a/src/system/detail/inc/mgmt.h
+++ b/src/system/detail/inc/mgmt.h
@@ -20,11 +20,7 @@
extern "C" {
#endif
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "sdb.h"
#include "tglobalcfg.h"
@@ -34,7 +30,6 @@ extern "C" {
#include "tmempool.h"
#include "trpc.h"
#include "tsdb.h"
-#include "tsdb.h"
#include "tskiplist.h"
#include "tsocket.h"
#include "ttime.h"
diff --git a/src/system/detail/inc/mgmtBalance.h b/src/system/detail/inc/mgmtBalance.h
index 4157458a7f3d864e576ed004ba416c4cf3b562ef..7d478416accbc0b4e4cb5a56ef6f50daa8203320 100644
--- a/src/system/detail/inc/mgmtBalance.h
+++ b/src/system/detail/inc/mgmtBalance.h
@@ -20,9 +20,7 @@
extern "C" {
#endif
-#include
-#include
-#include
+#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
diff --git a/src/system/detail/inc/mgmtSystem.h b/src/system/detail/inc/mgmtSystem.h
index 1262d7e834f705d9a67f8f61dff3b70f9793f954..44bb0331e1908ecd49b973b4ea0297d07f261cc0 100644
--- a/src/system/detail/inc/mgmtSystem.h
+++ b/src/system/detail/inc/mgmtSystem.h
@@ -20,8 +20,6 @@
extern "C" {
#endif
-#include
-
int mgmtInitRedirect();
void mgmtCleanUpRedirect();
diff --git a/src/system/detail/inc/vnode.h b/src/system/detail/inc/vnode.h
index 373d9e713bfa50543770ce25094a0b0a9cec3dab..35b5c010ab45087ae2c1b86aeb7f15169498d0b6 100644
--- a/src/system/detail/inc/vnode.h
+++ b/src/system/detail/inc/vnode.h
@@ -20,11 +20,7 @@
extern "C" {
#endif
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "tglobalcfg.h"
#include "tidpool.h"
@@ -33,7 +29,6 @@ extern "C" {
#include "trpc.h"
#include "tsclient.h"
#include "tsdb.h"
-#include "tsdb.h"
#include "tsocket.h"
#include "ttime.h"
#include "ttimer.h"
diff --git a/src/system/detail/inc/vnodePeer.h b/src/system/detail/inc/vnodePeer.h
index d44143e619b36c6faaf3dbf078bf5a9f92655fb4..4f17e66a70d8ffc0727021a17359e7f58161cff4 100644
--- a/src/system/detail/inc/vnodePeer.h
+++ b/src/system/detail/inc/vnodePeer.h
@@ -16,7 +16,7 @@
#ifndef TDENGINE_VNODEPEER_H
#define TDENGINE_VNODEPEER_H
-#include
+#include "os.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/system/detail/inc/vnodeQueryImpl.h b/src/system/detail/inc/vnodeQueryImpl.h
index c00af3b8e981ab20c1d033d1032b1b05a2452f0d..810105d638821d9d46c36c87eb15f4f9324a5aae 100644
--- a/src/system/detail/inc/vnodeQueryImpl.h
+++ b/src/system/detail/inc/vnodeQueryImpl.h
@@ -20,8 +20,7 @@
extern "C" {
#endif
-#include
-#include
+#include "os.h"
#include "ihash.h"
diff --git a/src/system/detail/inc/vnodeRead.h b/src/system/detail/inc/vnodeRead.h
index 20f49354f2fee5ab1c7d027ff9437a18c54942f2..1de9f97e82ad83e2e6c70b36a0c7b7aca9165dc6 100644
--- a/src/system/detail/inc/vnodeRead.h
+++ b/src/system/detail/inc/vnodeRead.h
@@ -20,7 +20,7 @@
extern "C" {
#endif
-#include
+#include "os.h"
#include "tinterpolation.h"
#include "vnodeTagMgmt.h"
diff --git a/src/system/detail/inc/vnodeShell.h b/src/system/detail/inc/vnodeShell.h
index d0194a1765fc55d859c9ec645a1ca247f55ed79b..e450983dd7ef6d90d33f9eb5e1d4e2e502fefd32 100644
--- a/src/system/detail/inc/vnodeShell.h
+++ b/src/system/detail/inc/vnodeShell.h
@@ -20,7 +20,7 @@
extern "C" {
#endif
-#include
+#include "os.h"
typedef struct {
int sid;
diff --git a/src/system/detail/inc/vnodeStore.h b/src/system/detail/inc/vnodeStore.h
index d4eedd4ce00cfd9ff5f52b9740c99221d1e049ec..638bcb54bb40f7621a8712591775e5f4e676e704 100644
--- a/src/system/detail/inc/vnodeStore.h
+++ b/src/system/detail/inc/vnodeStore.h
@@ -16,8 +16,6 @@
#ifndef TDENGINE_VNODESTORE_H
#define TDENGINE_VNODESTORE_H
-#include
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/src/system/detail/inc/vnodeSystem.h b/src/system/detail/inc/vnodeSystem.h
index e69b0b9f1e38f919819199473839edd1246ae776..e436288fc149cb5381b1e7f583d9450fd8772f5d 100644
--- a/src/system/detail/inc/vnodeSystem.h
+++ b/src/system/detail/inc/vnodeSystem.h
@@ -16,8 +16,6 @@
#ifndef TDENGINE_VNODESYSTEM_H
#define TDENGINE_VNODESYSTEM_H
-#include
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/src/system/detail/src/dnodeMgmt.c b/src/system/detail/src/dnodeMgmt.c
index d3f84639a687f4f0b2f0e509ef3fa35368842de0..ac651f05f291f1d92744da465fead6707b45cb4e 100644
--- a/src/system/detail/src/dnodeMgmt.c
+++ b/src/system/detail/src/dnodeMgmt.c
@@ -14,9 +14,8 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
+
+#include "os.h"
#include "dnodeSystem.h"
#include "taosmsg.h"
diff --git a/src/system/detail/src/dnodeService.c b/src/system/detail/src/dnodeService.c
index 86d3b4a795a789aebf51ab2e529737f55811b815..a14ec1fda6aee8d3e7942b5890d1301fb11c66df 100644
--- a/src/system/detail/src/dnodeService.c
+++ b/src/system/detail/src/dnodeService.c
@@ -14,20 +14,8 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+
+#include "os.h"
#include "dnodeSystem.h"
#include "tglobalcfg.h"
diff --git a/src/system/detail/src/dnodeSystem.c b/src/system/detail/src/dnodeSystem.c
index 1b5d9418b424ec0212d58bcaa3e461b69fe371df..a6392cee4d6e116cf3e858016a9441bcb317b394 100644
--- a/src/system/detail/src/dnodeSystem.c
+++ b/src/system/detail/src/dnodeSystem.c
@@ -14,11 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "mgmt.h"
#include "vnode.h"
diff --git a/src/system/detail/src/mgmtAcct.c b/src/system/detail/src/mgmtAcct.c
index dac67518e9225c0966e26985e4c4395f44b1bd43..e5f52b17f963dfeaf915c21aeedf61e9655d8cd1 100644
--- a/src/system/detail/src/mgmtAcct.c
+++ b/src/system/detail/src/mgmtAcct.c
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
+#include "os.h"
#include "mgmt.h"
#include "tschemautil.h"
diff --git a/src/system/detail/src/mgmtConn.c b/src/system/detail/src/mgmtConn.c
index b3fb24de6b19963348666cffc05c2745d47639a5..40385d2fc4b6d61727c679d7781ec8cc6c5e49f5 100644
--- a/src/system/detail/src/mgmtConn.c
+++ b/src/system/detail/src/mgmtConn.c
@@ -14,8 +14,10 @@
*/
#define _DEFAULT_SOURCE
+
+#include "os.h"
+
#include "mgmt.h"
-#include
#include "taosmsg.h"
#include "tschemautil.h"
diff --git a/src/system/detail/src/mgmtDnode.c b/src/system/detail/src/mgmtDnode.c
index 36e3a415955bd76a0b76759935590c0846730719..3a4936041c54f3cec2f5b2c1fb91213bc1997acf 100644
--- a/src/system/detail/src/mgmtDnode.c
+++ b/src/system/detail/src/mgmtDnode.c
@@ -15,9 +15,7 @@
#define _DEFAULT_SOURCE
-#include
-#include
-#include
+#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
diff --git a/src/system/detail/src/mgmtDnodeInt.c b/src/system/detail/src/mgmtDnodeInt.c
index e2150228691414e821401803ee230d9b06796873..af86757d5165b4ccec638443282a55f9924184fe 100644
--- a/src/system/detail/src/mgmtDnodeInt.c
+++ b/src/system/detail/src/mgmtDnodeInt.c
@@ -14,8 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
+#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
diff --git a/src/system/detail/src/mgmtMeter.c b/src/system/detail/src/mgmtMeter.c
index 2db920fdd71a6005d45d442aff4c108a31dc9c72..d4ffabe4b7a5444cbc6a71ee29c02e03035a4e9e 100644
--- a/src/system/detail/src/mgmtMeter.c
+++ b/src/system/detail/src/mgmtMeter.c
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
+#include "os.h"
#include "mgmt.h"
#include "mgmtUtil.h"
diff --git a/src/system/detail/src/mgmtProfile.c b/src/system/detail/src/mgmtProfile.c
index e641739e31c9e8498e12c6b6cab1525c8a66791e..bd5540e5ee806ad0534dca0b238f63906fe7053f 100644
--- a/src/system/detail/src/mgmtProfile.c
+++ b/src/system/detail/src/mgmtProfile.c
@@ -14,8 +14,9 @@
*/
#define _DEFAULT_SOURCE
+#include "os.h"
+
#include "mgmt.h"
-#include
#include "mgmtProfile.h"
#include "taosmsg.h"
#include "tschemautil.h"
diff --git a/src/system/detail/src/mgmtShell.c b/src/system/detail/src/mgmtShell.c
index f74ee9f51f6a9c1e2aabd26ccf1843b161b1c176..efd863a7efb08ffb447d58ec8959e0b1e6a98385 100644
--- a/src/system/detail/src/mgmtShell.c
+++ b/src/system/detail/src/mgmtShell.c
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
+#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
diff --git a/src/system/detail/src/mgmtSupertableQuery.c b/src/system/detail/src/mgmtSupertableQuery.c
index 31f3e29425b1842722d8eca374b0a5bf7b4fb784..f5e0509c24baa8a8a1ecedcd3258c50306801cde 100644
--- a/src/system/detail/src/mgmtSupertableQuery.c
+++ b/src/system/detail/src/mgmtSupertableQuery.c
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
+#include "os.h"
#include "mgmt.h"
#include "mgmtUtil.h"
diff --git a/src/system/detail/src/mgmtSystem.c b/src/system/detail/src/mgmtSystem.c
index bb05c35e9be40fcb338395fb7f1086d99aff4ac1..375e100a83668f0288fb25fc05f689b3e52b0c91 100644
--- a/src/system/detail/src/mgmtSystem.c
+++ b/src/system/detail/src/mgmtSystem.c
@@ -14,16 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
diff --git a/src/system/detail/src/mgmtUser.c b/src/system/detail/src/mgmtUser.c
index 83e619841b18b44aeac999ba1d60c5a8672e1531..1acceb1ade7c7cecc66d972adf6e295719e9357c 100644
--- a/src/system/detail/src/mgmtUser.c
+++ b/src/system/detail/src/mgmtUser.c
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
+#include "os.h"
#include "mgmt.h"
#include "tschemautil.h"
diff --git a/src/system/detail/src/mgmtUtil.c b/src/system/detail/src/mgmtUtil.c
index 3be2e1288d225147b95f511c865d0c425c1dee23..d31198be645b8f92792336a52512c2f94d73950d 100644
--- a/src/system/detail/src/mgmtUtil.c
+++ b/src/system/detail/src/mgmtUtil.c
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
+#include "os.h"
#include "mgmt.h"
#include "mgmtUtil.h"
diff --git a/src/system/detail/src/mgmtVgroup.c b/src/system/detail/src/mgmtVgroup.c
index 5858be54cab7e5394d994427d5105f62f8331e02..3b1da25a0a7aff4a86ca50537cb88b394d4ccff2 100644
--- a/src/system/detail/src/mgmtVgroup.c
+++ b/src/system/detail/src/mgmtVgroup.c
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
+#include "os.h"
#include "mgmt.h"
#include "tschemautil.h"
diff --git a/src/system/detail/src/vnodeCache.c b/src/system/detail/src/vnodeCache.c
index f4bea682e93c951d7bc7d7fd9b581b4033eac471..94ac006060c83785f24ced70bddd4269105a2b7d 100644
--- a/src/system/detail/src/vnodeCache.c
+++ b/src/system/detail/src/vnodeCache.c
@@ -14,9 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
+#include "os.h"
#include "taosmsg.h"
#include "vnode.h"
diff --git a/src/system/detail/src/vnodeCommit.c b/src/system/detail/src/vnodeCommit.c
index af14f2be4a8fb56c305967a66c2e94b8cc864873..73c891f7bbc36df2b101889e12c739abf815a76b 100644
--- a/src/system/detail/src/vnodeCommit.c
+++ b/src/system/detail/src/vnodeCommit.c
@@ -14,15 +14,7 @@
*/
#define _GNU_SOURCE /* See feature_test_macros(7) */
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "tsdb.h"
#include "vnode.h"
diff --git a/src/system/detail/src/vnodeFile.c b/src/system/detail/src/vnodeFile.c
index 132ee3f7ded421245bd67c8b79c914565e78e156..a2ddca7a28c357f4d71e80107bf185840f360f70 100644
--- a/src/system/detail/src/vnodeFile.c
+++ b/src/system/detail/src/vnodeFile.c
@@ -14,15 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "os.h"
#include "tscompression.h"
#include "tutil.h"
diff --git a/src/system/detail/src/vnodeFileUtil.c b/src/system/detail/src/vnodeFileUtil.c
index f8de6c4a42453e35e6d3676890f9f6942c0a6fba..b40e7cfd41eed93e08c4959d55fd379bdc206c4d 100644
--- a/src/system/detail/src/vnodeFileUtil.c
+++ b/src/system/detail/src/vnodeFileUtil.c
@@ -14,11 +14,7 @@
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include