From: Dan Albert Date: Tue, 9 Jun 2015 23:53:45 +0000 (-0700) Subject: Add missing include. X-Git-Tag: android-x86-7.1-r1~370^2~119 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8f310904;p=android-x86%2Fsystem-bt.git Add missing include. 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 --- diff --git a/btif/src/btif_sdp_server.c b/btif/src/btif_sdp_server.c index d0e09b302..5be23f013 100644 --- a/btif/src/btif_sdp_server.c +++ b/btif/src/btif_sdp_server.c @@ -32,6 +32,7 @@ #include #define LOG_TAG "BTIF_SDP_SERVER" +#include "allocator.h" #include "btif_common.h" #include "btif_util.h" #include "bta_sdp_api.h"