[PATCH] cosmetic: missing includes (net/sched)

Werner Almesberger (Werner.Almesberger@epfl.ch)
Fri, 9 Feb 2001 02:04:53 +0100


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 ------------------------------------

--- 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>

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH           Werner.Almesberger@epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/
-
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/