diff --git a/lwext4/ext4.c b/lwext4/ext4.c index ac379b9..d81c242 100644 --- a/lwext4/ext4.c +++ b/lwext4/ext4.c @@ -35,6 +35,7 @@ */ #include "ext4_config.h" +#include "ext4.h" #include "ext4_blockdev.h" #include "ext4_types.h" #include "ext4_debug.h" @@ -45,7 +46,7 @@ #include "ext4_super.h" #include "ext4_dir_idx.h" #include "ext4_xattr.h" -#include "ext4.h" + #include #include diff --git a/lwext4/ext4.h b/lwext4/ext4.h index abf6a35..5ac3eb1 100644 --- a/lwext4/ext4.h +++ b/lwext4/ext4.h @@ -38,10 +38,6 @@ #ifndef EXT4_H_ #define EXT4_H_ -#include "ext4_config.h" -#include "ext4_types.h" -#include "ext4_blockdev.h" - #include #include @@ -96,6 +92,10 @@ #include #endif +#include "ext4_config.h" +#include "ext4_types.h" +#include "ext4_blockdev.h" + /********************************OS LOCK INFERFACE***************************/ /**@brief OS dependent lock interface.*/