Commit 5f7c3ff6a2e227418d363069ff89cf9d7f01fbc1

Authored by Jon Maloy
Committed by Per Liden
1 parent 3860288ee8

[TIPC] Minor changes to #includes

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>

Showing 6 changed files with 10 additions and 6 deletions Side-by-side Diff

... ... @@ -37,7 +37,7 @@
37 37 #ifndef _TIPC_BEARER_H
38 38 #define _TIPC_BEARER_H
39 39  
40   -#include <net/tipc/tipc_bearer.h>
  40 +#include "core.h"
41 41 #include "bcast.h"
42 42  
43 43 #define MAX_BEARERS 8
... ... @@ -39,8 +39,7 @@
39 39  
40 40 /* ---------------------------------------------------------------------- */
41 41  
42   -#include <linux/tipc.h>
43   -#include <linux/tipc_config.h>
  42 +#include "core.h"
44 43 #include "link.h"
45 44  
46 45 struct sk_buff *cfg_reply_alloc(int payload_size);
... ... @@ -37,6 +37,11 @@
37 37 #ifndef _TIPC_CORE_H
38 38 #define _TIPC_CORE_H
39 39  
  40 +#include <linux/tipc.h>
  41 +#include <linux/tipc_config.h>
  42 +#include <net/tipc/tipc_msg.h>
  43 +#include <net/tipc/tipc_port.h>
  44 +#include <net/tipc/tipc_bearer.h>
40 45 #include <net/tipc/tipc.h>
41 46 #include <linux/types.h>
42 47 #include <linux/kernel.h>
... ... @@ -37,7 +37,7 @@
37 37 #ifndef _TIPC_DISCOVER_H
38 38 #define _TIPC_DISCOVER_H
39 39  
40   -#include <linux/tipc.h>
  40 +#include "core.h"
41 41  
42 42 struct link_req;
43 43  
... ... @@ -37,7 +37,7 @@
37 37 #ifndef _TIPC_MSG_H
38 38 #define _TIPC_MSG_H
39 39  
40   -#include <net/tipc/tipc_msg.h>
  40 +#include "core.h"
41 41  
42 42 #define TIPC_VERSION 2
43 43 #define DATA_LOW TIPC_LOW_IMPORTANCE
... ... @@ -37,7 +37,7 @@
37 37 #ifndef _TIPC_PORT_H
38 38 #define _TIPC_PORT_H
39 39  
40   -#include <net/tipc/tipc_port.h>
  40 +#include "core.h"
41 41 #include "ref.h"
42 42 #include "net.h"
43 43 #include "msg.h"