2001-02-09 01:05:13

by Werner Almesberger

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

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 [email protected] /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/


2001-02-09 06:02:45

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] cosmetic: missing includes (net/sched)


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
[email protected]