b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing include for bat_sys.h
@ 2010-09-04 16:30 Sven Eckelmann
  2010-09-04 22:37 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2010-09-04 16:30 UTC (permalink / raw)
  To: b.a.t.m.a.n

soft_interface.c needs sysfs_add_meshif and sysfs_del_meshif after
"batman-adv: attach each hard-interface to a soft-interface". This
Include is provided indirectly using compat.h on standalone sources, but
missing on kernel builds.

We should add it directly as the compat.h include is only a side effect
we cannot rely on.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batman-adv/soft-interface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/batman-adv/soft-interface.c b/batman-adv/soft-interface.c
index 38134ae..28bd6a2 100644
--- a/batman-adv/soft-interface.c
+++ b/batman-adv/soft-interface.c
@@ -31,6 +31,7 @@
 #include "gateway_common.h"
 #include "gateway_client.h"
 #include "send.h"
+#include "bat_sysfs.h"
 #include <linux/slab.h>
 #include <linux/ethtool.h>
 #include <linux/etherdevice.h>
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing include for bat_sys.h
  2010-09-04 16:30 [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing include for bat_sys.h Sven Eckelmann
@ 2010-09-04 22:37 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2010-09-04 22:37 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Saturday 04 September 2010 18:30:51 Sven Eckelmann wrote:
> soft_interface.c needs sysfs_add_meshif and sysfs_del_meshif after
> "batman-adv: attach each hard-interface to a soft-interface". This
> Include is provided indirectly using compat.h on standalone sources, but
> missing on kernel builds.
> 
> We should add it directly as the compat.h include is only a side effect
> we cannot rely on.

Applied in revision 1785.

Thanks,
Marek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-04 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-04 16:30 [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing include for bat_sys.h Sven Eckelmann
2010-09-04 22:37 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).