diff options
-rw-r--r-- | include/session.h | 2 | ||||
-rw-r--r-- | src/connman.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/session.h b/include/session.h index deff0fc5..2871d509 100644 --- a/include/session.h +++ b/include/session.h @@ -32,6 +32,8 @@ extern "C" { #define CONNMAN_SESSION_POLICY_PRIORITY_DEFAULT 0 #define CONNMAN_SESSION_POLICY_PRIORITY_HIGH 100 +struct connman_session; + /* * The session are identified through the pid is only a temporary solution */ diff --git a/src/connman.h b/src/connman.h index 120de302..c70f6ae3 100644 --- a/src/connman.h +++ b/src/connman.h @@ -691,7 +691,8 @@ void __connman_service_notify(struct connman_service *service, int __connman_service_counter_register(const char *counter); void __connman_service_counter_unregister(const char *counter); -struct connman_session; +#include <connman/session.h> + struct service_entry; typedef connman_bool_t (* service_match_cb) (struct connman_session *session, struct connman_service *service); |