提交 5f7c3ff6 编写于 作者: J Jon Maloy 提交者: Per Liden

[TIPC] Minor changes to #includes

Signed-off-by: NJon Maloy <jon.maloy@ericsson.com>
上级 3860288e
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifndef _TIPC_BEARER_H #ifndef _TIPC_BEARER_H
#define _TIPC_BEARER_H #define _TIPC_BEARER_H
#include <net/tipc/tipc_bearer.h> #include "core.h"
#include "bcast.h" #include "bcast.h"
#define MAX_BEARERS 8 #define MAX_BEARERS 8
......
...@@ -39,8 +39,7 @@ ...@@ -39,8 +39,7 @@
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
#include <linux/tipc.h> #include "core.h"
#include <linux/tipc_config.h>
#include "link.h" #include "link.h"
struct sk_buff *cfg_reply_alloc(int payload_size); struct sk_buff *cfg_reply_alloc(int payload_size);
......
...@@ -37,6 +37,11 @@ ...@@ -37,6 +37,11 @@
#ifndef _TIPC_CORE_H #ifndef _TIPC_CORE_H
#define _TIPC_CORE_H #define _TIPC_CORE_H
#include <linux/tipc.h>
#include <linux/tipc_config.h>
#include <net/tipc/tipc_msg.h>
#include <net/tipc/tipc_port.h>
#include <net/tipc/tipc_bearer.h>
#include <net/tipc/tipc.h> #include <net/tipc/tipc.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifndef _TIPC_DISCOVER_H #ifndef _TIPC_DISCOVER_H
#define _TIPC_DISCOVER_H #define _TIPC_DISCOVER_H
#include <linux/tipc.h> #include "core.h"
struct link_req; struct link_req;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifndef _TIPC_MSG_H #ifndef _TIPC_MSG_H
#define _TIPC_MSG_H #define _TIPC_MSG_H
#include <net/tipc/tipc_msg.h> #include "core.h"
#define TIPC_VERSION 2 #define TIPC_VERSION 2
#define DATA_LOW TIPC_LOW_IMPORTANCE #define DATA_LOW TIPC_LOW_IMPORTANCE
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifndef _TIPC_PORT_H #ifndef _TIPC_PORT_H
#define _TIPC_PORT_H #define _TIPC_PORT_H
#include <net/tipc/tipc_port.h> #include "core.h"
#include "ref.h" #include "ref.h"
#include "net.h" #include "net.h"
#include "msg.h" #include "msg.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册