diff options
author | jge <jge@codeaurora.org> | 2016-09-05 15:05:30 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-07 00:03:56 -0700 |
commit | 2504029e02830927496517fc3f26597c0e1c56eb (patch) | |
tree | 19547810289acd2cba835303e359a80ccdaf7ade | |
parent | 0bfe692ce686a7bed3eaa8129f6f41acf1f04922 (diff) | |
download | android_hardware_qcom_wlan-2504029e02830927496517fc3f26597c0e1c56eb.tar.gz android_hardware_qcom_wlan-2504029e02830927496517fc3f26597c0e1c56eb.tar.bz2 android_hardware_qcom_wlan-2504029e02830927496517fc3f26597c0e1c56eb.zip |
Wifi-HAL: Fix compile error for customer build
Wcnss_service don't include stdlib.h, which causes
implicit declaration of function 'atoi'.
Issue happens when some customers download code without
including /verdor/qcom/proprietary, so TARGET_USES_QCOM_WCNSS_QMI
will not be defined, and stdlib.h can't be included indirectly.
Change-Id: Ica7c55ff330bb32335f87556591f33b48076cf03
CRs-Fixed: 1063287
-rw-r--r-- | wcnss-service/wcnss_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wcnss-service/wcnss_service.c b/wcnss-service/wcnss_service.c index 1d4346b..b49f541 100644 --- a/wcnss-service/wcnss_service.c +++ b/wcnss-service/wcnss_service.c @@ -26,6 +26,7 @@ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --------------------------------------------------------------------------*/ +#include <stdlib.h> #include <stdio.h> #include <string.h> #include <fcntl.h> |