diff options
author | nailyk-fr <nailyk_git@nailyk.fr> | 2016-10-08 20:16:30 +0200 |
---|---|---|
committer | nailyk-fr <nailyk_git@nailyk.fr> | 2017-02-21 20:15:18 +0100 |
commit | f324364ca45a1962a51c223f1a017168b2ffb1b8 (patch) | |
tree | 47d4f63b866fa71eccedd6e060f24ef9aae07f42 /tfa9890 | |
parent | 8e439af05590389c586404c42ec28f1737cd4dfa (diff) |
shinano-common: tfa: Add missing header
avoid warning as:
device/sony/shinano/libaudioamp/tfa9890.c: In function 'tfa9890_prepare_for_ioctl':
device/sony/shinano/libaudioamp/tfa9890.c:53:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(tfa9890_param_data.data);
^
device/sony/shinano/libaudioamp/tfa9890.c:53:2: warning: incompatible implicit declaration of built-in function 'free'
https://github.com/sonyxperiadev/device-sony-shinano/commit/2aed9e2f4a51bdca13f4403457d6f4483e09b8e5
Change-Id: I6dda71087618b6f9925ae8b3203f675f298d81f6
Diffstat (limited to 'tfa9890')
-rw-r--r-- | tfa9890/tfa9890.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tfa9890/tfa9890.c b/tfa9890/tfa9890.c index 0220829..b3e0d0c 100644 --- a/tfa9890/tfa9890.c +++ b/tfa9890/tfa9890.c @@ -21,6 +21,7 @@ #include <errno.h> #include <fcntl.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> |