summaryrefslogtreecommitdiffstats
path: root/exynos4/hal/libgralloc_ump
diff options
context:
space:
mode:
Diffstat (limited to 'exynos4/hal/libgralloc_ump')
-rw-r--r--exynos4/hal/libgralloc_ump/Android.mk4
-rw-r--r--exynos4/hal/libgralloc_ump/alloc_device.cpp6
2 files changed, 4 insertions, 6 deletions
diff --git a/exynos4/hal/libgralloc_ump/Android.mk b/exynos4/hal/libgralloc_ump/Android.mk
index 0a25e68..311c56e 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 05df8d1..10a8e72 100644
--- a/exynos4/hal/libgralloc_ump/alloc_device.cpp
+++ b/exynos4/hal/libgralloc_ump/alloc_device.cpp
@@ -56,13 +56,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/ioctl.h>
-
-#if HAVE_ANDROID_OS
-#include <linux/android_pmem.h>
#include <pixelflinger/format.h>
-#endif
-#include "videodev2.h"
+#include <linux/videodev2.h>
#include "s5p_fimc.h"
#ifdef SAMSUNG_EXYNOS4x12