[2/2] batman-adv: Switch order of types.h and compat.h inclusion

Message ID 1296827833-27595-2-git-send-email-linus.luessing@ascom.ch (mailing list archive)
State Accepted, archived
Headers

Commit Message

Linus Lüssing Feb. 4, 2011, 1:57 p.m. UTC
  The compat.h changes should be transparent for any other of our source
files - even for types.h. Therefore switching the order.

Signed-off-by: Linus Lüssing <linus.luessing@acsom.ch>
---
 main.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Marek Lindner Feb. 6, 2011, 11:06 p.m. UTC | #1
On Friday 04 February 2011 14:57:13 Linus Lüssing wrote:
> The compat.h changes should be transparent for any other of our source
> files - even for types.h. Therefore switching the order.

Applied in revision 1932.

Thanks,
Marek
  

Patch

diff --git a/batman-adv/main.h b/batman-adv/main.h
index 1ec9986..bd8470d 100644
--- a/batman-adv/main.h
+++ b/batman-adv/main.h
@@ -114,10 +114,10 @@ 
 #include <net/sock.h>		/* struct sock */
 #include <linux/jiffies.h>
 #include <linux/seq_file.h>
-#include "types.h"
-
 #include "compat.h"
 
+#include "types.h"
+
 #ifndef REVISION_VERSION
 #define REVISION_VERSION_STR ""
 #else