[PATCH 03/14] obexd/MAP: Fix missing include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fix following build error:

  CC     obexd/client/obexd-mns.o
obexd/client/mns.c: In function ‘mns_connect’:
obexd/client/mns.c:105:2: error: implicit declaration of function
    ‘manager_register_session’ [-Werror=implicit-function-declaration]
obexd/client/mns.c: In function ‘mns_disconnect’:
obexd/client/mns.c:128:2: error: implicit declaration of function
    ‘manager_unregister_session’ [-Werror=implicit-function-declaration]
---
 obexd/client/mns.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/obexd/client/mns.c b/obexd/client/mns.c
index ee64ed6..b709650 100644
--- a/obexd/client/mns.c
+++ b/obexd/client/mns.c
@@ -44,6 +44,8 @@
 #include "map_ap.h"
 #include "map-event.h"
 
+#include "../src/manager.h"
+
 struct mns_session {
 	GString *buffer;
 	GObexApparam *inparams;
-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux