From a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 1 Jun 2012 10:08:58 +0200 Subject: [PATCH] libubus: fix multiple inclusions of libubus.h --- libubus.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libubus.h b/libubus.h index 917d122..99cbbb4 100644 --- a/libubus.h +++ b/libubus.h @@ -11,6 +11,9 @@ * GNU General Public License for more details. */ +#ifndef __LIBUBUS_H +#define __LIBUBUS_H + #include #include #include @@ -231,3 +234,5 @@ static inline int ubus_unregister_event_handler(struct ubus_context *ctx, { return ubus_remove_object(ctx, &ev->obj); } + +#endif -- 2.30.2