OSDN Git Service

Add missing include.
authorDan Albert <danalbert@google.com>
Tue, 9 Jun 2015 23:53:45 +0000 (16:53 -0700)
committerDan Albert <danalbert@google.com>
Wed, 10 Jun 2015 00:03:28 +0000 (00:03 +0000)
osi_malloc was never included, so it was implicitly defined as
returning an integer (thank you, C). Clang caught the int to pointer
conversion error.

Change-Id: I0d8a3363d92cb72a22780d049a53e193d2e50ec5

btif/src/btif_sdp_server.c

index d0e09b3..5be23f0 100644 (file)
@@ -32,6 +32,7 @@
 #include <pthread.h>
 
 #define LOG_TAG "BTIF_SDP_SERVER"
+#include "allocator.h"
 #include "btif_common.h"
 #include "btif_util.h"
 #include "bta_sdp_api.h"