libubus: fix multiple inclusions of libubus.h

This commit is contained in:
Felix Fietkau 2012-06-01 10:08:58 +02:00
parent 34161692fa
commit a62e2f8c15

View file

@ -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