ref: 71bd7c174f6c3674a65e627873c9cb2fc87ef440
parent: 07d4492ba55d747110490b5595011ed1c4316f46
author: gkostka <kostka.grzegorz@gmail.com>
date: Thu Oct 29 15:52:23 EDT 2015
Reorder includes to fix travis build
--- 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 <stdlib.h>
#include <string.h>
--- 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 <stdint.h>
#include <stddef.h>
@@ -95,6 +91,10 @@
#include <unistd.h>
#include <fcntl.h>
#endif
+
+#include "ext4_config.h"
+#include "ext4_types.h"
+#include "ext4_blockdev.h"
/********************************OS LOCK INFERFACE***************************/