diff options
-rw-r--r-- | network/error.c | 3 | ||||
-rw-r--r-- | network/error.h | 3 | ||||
-rw-r--r-- | network/server.h | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/network/error.c b/network/error.c index 8fcccd32..43f10af3 100644 --- a/network/error.c +++ b/network/error.c @@ -25,6 +25,9 @@ #include <config.h> #endif +#include <dbus/dbus.h> + +#include "dbus.h" #include "error.h" #define NETWORK_ERROR_INTERFACE "org.bluez.network.Error" diff --git a/network/error.h b/network/error.h index 3022e392..b62d4796 100644 --- a/network/error.h +++ b/network/error.h @@ -21,8 +21,6 @@ * */ -#include "dbus.h" - DBusHandlerResult err_unknown_connection(DBusConnection *conn, DBusMessage *msg); DBusHandlerResult err_does_not_exist(DBusConnection *conn, @@ -37,4 +35,3 @@ DBusHandlerResult err_invalid_args(DBusConnection *conn, DBusHandlerResult err_not_supported(DBusConnection *conn, DBusMessage *msg); DBusHandlerResult err_already_exists(DBusConnection *conn, DBusMessage *msg, const char *str); - diff --git a/network/server.h b/network/server.h index fb6debdf..5765e42e 100644 --- a/network/server.h +++ b/network/server.h @@ -21,7 +21,6 @@ * */ - int server_register(DBusConnection *conn, const char *path, bdaddr_t *src, uint16_t id); int server_register_from_file(DBusConnection *conn, const char *path, |