From 1f1cd98e3dc8a03d437ca64b81912c3c0fed633d Mon Sep 17 00:00:00 2001 From: Ziyan Date: Thu, 15 Sep 2016 10:59:48 +0200 Subject: liblights: build with -Wall -Werror Change-Id: Iec9293de656600eed6ac9da23bb27a13520b7cb0 --- liblights/Android.mk | 1 + liblights/lights.c | 1 + 2 files changed, 2 insertions(+) (limited to 'liblights') diff --git a/liblights/Android.mk b/liblights/Android.mk index aaa3a96..d694fc0 100755 --- a/liblights/Android.mk +++ b/liblights/Android.mk @@ -21,6 +21,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := lights.c +LOCAL_CFLAGS := -Wall -Werror LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw diff --git a/liblights/lights.c b/liblights/lights.c index dc3fdb4..dcab8a3 100644 --- a/liblights/lights.c +++ b/liblights/lights.c @@ -19,6 +19,7 @@ #include #include +#include #include #include #include -- cgit v1.1