cosmetic: missing includes (net/sched)

Message ID 20010209020453.Q13984@almesberger.net
State New, archived
Headers show
Series
  • cosmetic: missing includes (net/sched)
Related show

Commit Message

Werner Almesberger Feb. 9, 2001, 1:04 a.m. UTC
This patch for 2.4.2-pre1 adds a few includes I forgot in sch_atm.c and
sch_dsmark.c

Their absence didn't cause any kernel compilation problems, but it may
well in the future (or when compiling things in a different context,
that's why I, ehm ... finally, noticed the problem).

- Werner

------------------------------------ patch ------------------------------------

Comments

David Miller Feb. 9, 2001, 6:01 a.m. UTC | #1
Werner Almesberger writes:
 > This patch for 2.4.2-pre1 adds a few includes I forgot in sch_atm.c and
 > sch_dsmark.c

Applied, thanks.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

Patch

--- linux.orig/net/sched/sch_atm.c	Wed Mar 22 08:38:27 2000
+++ linux/net/sched/sch_atm.c	Fri Feb  9 01:56:07 2001
@@ -5,6 +5,8 @@ 
 
 #include <linux/config.h>
 #include <linux/module.h>
+#include <linux/string.h>
+#include <linux/errno.h>
 #include <linux/skbuff.h>
 #include <linux/interrupt.h>
 #include <linux/atmdev.h>
--- linux.orig/net/sched/sch_dsmark.c	Mon Jan 22 22:30:21 2001
+++ linux/net/sched/sch_dsmark.c	Fri Feb  9 01:56:58 2001
@@ -6,6 +6,8 @@ 
 #include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
+#include <linux/string.h>
+#include <linux/errno.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h> /* for pkt_sched */
 #include <linux/rtnetlink.h>