diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2018-05-27 01:03:37 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2018-05-27 01:03:37 +0300 |
commit | 0a42dd74f1734140734af7712cbdcba5a4946a52 (patch) | |
tree | 552b5a693401e133da31320167119a5379aaeb4a | |
parent | 132125486a0cae30d7073e4b838ccaa4cb9d6d54 (diff) | |
download | android_hardware_qcom_wlan-0a42dd74f1734140734af7712cbdcba5a4946a52.tar.gz android_hardware_qcom_wlan-0a42dd74f1734140734af7712cbdcba5a4946a52.tar.bz2 android_hardware_qcom_wlan-0a42dd74f1734140734af7712cbdcba5a4946a52.zip |
Make wcnss_service build with the VNDK.lineage-15.1-caf
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This means that they receive restricted
sets of headers and that automatic global headers are restricted.
Test: build wcnss_service with BOARD_VNDK_VERSION=current
Change-Id: Idb0522aee5df0d190bedcec36055699c0af6034a
-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 4e11960..a0caa3e 100644 --- a/wcnss-service/wcnss_service.c +++ b/wcnss-service/wcnss_service.c @@ -37,6 +37,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <utime.h> #include <sys/stat.h> #include <sys/sendfile.h> +#include <unistd.h> #define LOG_TAG "wcnss_service" #include <cutils/log.h> #include <cutils/properties.h> |