aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavem <davem>2002-01-12 08:00:30 +0000
committerdavem <davem>2002-01-12 08:00:30 +0000
commitdf699b7ff9a5281c93b9cef3813039f411dc004d (patch)
treec77004600137eb22b7c75da5817d7fa7f8260ae8
parente2b1715c54c5f195f1d8c35a523becb71a7762c8 (diff)
downloadnetdev-vger-cvs-df699b7ff9a5281c93b9cef3813039f411dc004d.tar.gz
Fix compile failures when CONFIG_INET is not
set.
-rw-r--r--net/core/rtnetlink.c1
-rw-r--r--net/unix/af_unix.c4
-rw-r--r--net/unix/garbage.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 452f1a0f6..e6977e508 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -45,7 +45,6 @@
#include <net/protocol.h>
#include <net/arp.h>
#include <net/route.h>
-#include <net/tcp.h>
#include <net/udp.h>
#include <net/sock.h>
#include <net/pkt_sched.h>
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 432a23f97..2d826216c 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -8,7 +8,7 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
- * Version: $Id: af_unix.c,v 1.128 2002-01-12 07:48:48 davem Exp $
+ * Version: $Id: af_unix.c,v 1.129 2002-01-12 08:00:30 davem Exp $
*
* Fixes:
* Linus Torvalds : Assorted bug cures.
@@ -101,7 +101,7 @@
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <net/sock.h>
-#include <net/tcp.h>
+#include <linux/tcp.h>
#include <net/af_unix.h>
#include <linux/proc_fs.h>
#include <net/scm.h>
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index 0d035c1a3..457515db9 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
@@ -76,9 +76,9 @@
#include <linux/netdevice.h>
#include <linux/file.h>
#include <linux/proc_fs.h>
+#include <linux/tcp.h>
#include <net/sock.h>
-#include <net/tcp.h>
#include <net/af_unix.h>
#include <net/scm.h>