[commits] r1785 - trunk/batman-adv

postmaster at open-mesh.org postmaster at open-mesh.org
Sun Sep 5 00:37:33 CEST 2010

Author: marek
Date: 2010-09-05 00:37:10 +0200 (Sun, 05 Sep 2010)
New Revision: 1785

batman-adv: Add missing include for bat_sys.h

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 at gmx.de>

Modified: trunk/batman-adv/soft-interface.c
--- trunk/batman-adv/soft-interface.c	2010-09-04 12:42:28 UTC (rev 1784)
+++ trunk/batman-adv/soft-interface.c	2010-09-04 22:37:10 UTC (rev 1785)
@@ -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>

More information about the commits mailing list