sanders: qsap_shim: Fix for VNDK_VERSION=current

Change-Id: I8e5ec3068914e085d4adac178a47421a1c515a89
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
This commit is contained in:
Erfan Abdi
2018-06-26 02:41:28 +04:30
committed by therootlord
parent 9e112b0545
commit 2b4a86458b
2 changed files with 8 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := libqsap_shim.c
LOCAL_SHARED_LIBRARIES := libqsap_sdk liblog
LOCAL_SHARED_LIBRARIES := libqsap_sdk liblog libcutils libutils
LOCAL_C_INCLUDES := $(TOP)/system/qcom/softap/sdk
LOCAL_MODULE := libqsap_shim
LOCAL_MODULE_TAGS := optional

View File

@@ -1,9 +1,15 @@
#include "qsap_api.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/wireless.h>
#include "cutils/log.h"
#include "log/log.h"
// Keep in sync with system/qcom/softap/sdk/qsap_api.c
struct Command qsap_str[eSTR_LAST] = {