diff --git a/exynos4/hal/include/SecFimc.h b/exynos4/hal/include/SecFimc.h index 61585c22..a65bda60 100644 --- a/exynos4/hal/include/SecFimc.h +++ b/exynos4/hal/include/SecFimc.h @@ -42,7 +42,6 @@ extern "C" { #include #include #include -#include #include #include diff --git a/exynos4/hal/include/jpeg_hal.h b/exynos4/hal/include/jpeg_hal.h index 5c555923..eddb08ca 100644 --- a/exynos4/hal/include/jpeg_hal.h +++ b/exynos4/hal/include/jpeg_hal.h @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "videodev2.h" +#include #define JPEG_DEC_NODE "/dev/video11" #define JPEG_ENC_NODE "/dev/video12" diff --git a/exynos4/hal/include/sec_utils.h b/exynos4/hal/include/sec_utils.h index c99dec6d..046e141c 100644 --- a/exynos4/hal/include/sec_utils.h +++ b/exynos4/hal/include/sec_utils.h @@ -29,8 +29,8 @@ extern "C" { #endif #include -#include "videodev2_exynos_camera.h" -#include "videodev2_exynos_media.h" +//#include "videodev2_exynos_camera.h" +//#include "videodev2_exynos_media.h" #ifdef __cplusplus } diff --git a/exynos4/hal/libgralloc_ump/Android.mk b/exynos4/hal/libgralloc_ump/Android.mk index 0a25e681..311c56e9 100644 --- a/exynos4/hal/libgralloc_ump/Android.mk +++ b/exynos4/hal/libgralloc_ump/Android.mk @@ -29,7 +29,9 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw LOCAL_SHARED_LIBRARIES := liblog libcutils libUMP libGLESv1_CM libsecion # Include the UMP header files -LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include +LOCAL_C_INCLUDES += \ + bionic/libc/include \ + $(LOCAL_PATH)/../include LOCAL_SRC_FILES := \ gralloc_module.cpp \ diff --git a/exynos4/hal/libgralloc_ump/alloc_device.cpp b/exynos4/hal/libgralloc_ump/alloc_device.cpp index 05df8d12..10a8e725 100644 --- a/exynos4/hal/libgralloc_ump/alloc_device.cpp +++ b/exynos4/hal/libgralloc_ump/alloc_device.cpp @@ -56,13 +56,9 @@ #include #include #include - -#if HAVE_ANDROID_OS -#include #include -#endif -#include "videodev2.h" +#include #include "s5p_fimc.h" #ifdef SAMSUNG_EXYNOS4x12 diff --git a/exynos4/hal/libhwcomposer/Android.mk b/exynos4/hal/libhwcomposer/Android.mk index 29acb51e..08b75e05 100644 --- a/exynos4/hal/libhwcomposer/Android.mk +++ b/exynos4/hal/libhwcomposer/Android.mk @@ -24,6 +24,7 @@ LOCAL_SHARED_LIBRARIES := liblog libcutils libEGL \ libGLESv1_CM libhardware libhardware_legacy LOCAL_C_INCLUDES := \ + bionic/libc/include \ $(TARGET_HAL_PATH)/include LOCAL_SRC_FILES := SecHWCLog.cpp SecHWCUtils.cpp SecHWC.cpp diff --git a/exynos4/hal/libhwcomposer/SecHWCUtils.h b/exynos4/hal/libhwcomposer/SecHWCUtils.h index 4b7aaa4b..c1b8dab8 100644 --- a/exynos4/hal/libhwcomposer/SecHWCUtils.h +++ b/exynos4/hal/libhwcomposer/SecHWCUtils.h @@ -34,8 +34,7 @@ #include #include -#include -#include "videodev2.h" +#include #include "s5p_fimc.h" #include "sec_utils.h" #include diff --git a/exynos4/hal/libhwjpeg/Android.mk b/exynos4/hal/libhwjpeg/Android.mk index 21a99fbd..7b288fa5 100644 --- a/exynos4/hal/libhwjpeg/Android.mk +++ b/exynos4/hal/libhwjpeg/Android.mk @@ -16,6 +16,7 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_C_INCLUDES := $(LOCAL_PATH) \ + bionic/libc/include \ $(LOCAL_PATH)/../include LOCAL_SRC_FILES:= \