diff --git a/src/common/inc/tdisk.h b/src/common/inc/tdisk.h index 7214f3a3ed2fde547174ae6865a735da91e2c78c..79e8e4baec7dad32a398f55e113282f1d38e1108 100644 --- a/src/common/inc/tdisk.h +++ b/src/common/inc/tdisk.h @@ -16,9 +16,6 @@ #ifndef TD_TDISK_H #define TD_TDISK_H -#include "taosdef.h" -#include "hash.h" -#include "taoserror.h" #include "tglobal.h" #ifdef __cplusplus diff --git a/src/common/src/tdisk.c b/src/common/src/tdisk.c index 407d21abf59b501859b56392a1e38d415f7bedb7..abc01d9dfaa62d868b13f378d6165a1502ca99ad 100644 --- a/src/common/src/tdisk.c +++ b/src/common/src/tdisk.c @@ -13,10 +13,12 @@ * along with this program. If not, see . */ #include "os.h" -#include "tutil.h" #include "tdisk.h" +#include "hash.h" +#include "taosdef.h" +#include "taoserror.h" #include "tulog.h" - +#include "tutil.h" typedef struct { uint64_t size;