summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2003-11-29 04:46:30 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2003-11-29 04:46:30 -0800
commit60b95251032ff12ce322231a8165e8176078832e (patch)
tree560e9c4ea9c54edd3d034524daef71fa9dd12d8d
parent202ca737b132b513e2112e48e6361c6eaa52e549 (diff)
[SCTP]: Fix sm.h/sctp.h header include loop.
-rw-r--r--include/net/sctp/sctp.h1
-rw-r--r--net/sctp/associola.c1
-rw-r--r--net/sctp/outqueue.c1
-rw-r--r--net/sctp/socket.c1
-rw-r--r--net/sctp/transport.c1
5 files changed, 4 insertions, 1 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index bf33562cd101..7edb15d6561a 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -90,7 +90,6 @@
#include <net/snmp.h>
#include <net/sctp/structs.h>
#include <net/sctp/constants.h>
-#include <net/sctp/sm.h>
/* Set SCTP_DEBUG flag via config if not already set. */
diff --git a/net/sctp/associola.c b/net/sctp/associola.c
index dba3d149e499..44b30efb17a9 100644
--- a/net/sctp/associola.c
+++ b/net/sctp/associola.c
@@ -58,6 +58,7 @@
#include <linux/in.h>
#include <net/ipv6.h>
#include <net/sctp/sctp.h>
+#include <net/sctp/sm.h>
/* Forward declarations for internal functions. */
static void sctp_assoc_bh_rcv(struct sctp_association *asoc);
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index d26292af9ff1..dc4cb1a5a739 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -53,6 +53,7 @@
#include <net/sock.h> /* For skb_set_owner_w */
#include <net/sctp/sctp.h>
+#include <net/sctp/sm.h>
/* Declare internal functions here. */
static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn);
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 0ac8c9bf5363..36b2ec11a3a8 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -77,6 +77,7 @@
#include <linux/socket.h> /* for sa_family_t */
#include <net/sock.h>
#include <net/sctp/sctp.h>
+#include <net/sctp/sm.h>
/* WARNING: Please do not remove the SCTP_STATIC attribute to
* any of the functions below as they are used to export functions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c
index 485d77015399..026ffebb61d4 100644
--- a/net/sctp/transport.c
+++ b/net/sctp/transport.c
@@ -50,6 +50,7 @@
#include <linux/types.h>
#include <net/sctp/sctp.h>
+#include <net/sctp/sm.h>
/* 1st Level Abstractions. */