libubus: fix multiple inclusions of libubus.h
This commit is contained in:
parent
34161692fa
commit
a62e2f8c15
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef __LIBUBUS_H
|
||||
#define __LIBUBUS_H
|
||||
|
||||
#include <libubox/avl.h>
|
||||
#include <libubox/list.h>
|
||||
#include <libubox/blobmsg.h>
|
||||
|
@ -231,3 +234,5 @@ static inline int ubus_unregister_event_handler(struct ubus_context *ctx,
|
|||
{
|
||||
return ubus_remove_object(ctx, &ev->obj);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue