Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67a5613e authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Simon Wunderlich
Browse files

batman-adv: Include main.h in bat_v_ogm.h



main.h includes statements which (re)define preprocessor variables which
influence the compiled code. This makes it necessary to include it in all
files. For example, it redefines pr_fmt used to the module as prefix for
each pr_* message.

Reported-by: default avatarAntonio Quartulli <a@unstable.cc>
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
Signed-off-by: default avatarMarek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
parent 4e3e823b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,10 +18,10 @@
#ifndef _BATMAN_ADV_BATADV_V_OGM_H_
#define _BATMAN_ADV_BATADV_V_OGM_H_

#include "main.h"

#include <linux/types.h>

struct batadv_hard_iface;
struct batadv_priv;
struct sk_buff;

int batadv_v_ogm_init(struct batadv_priv *bat_priv);