staging: android: ashmem: add missing include
authorRom Lemarchand <romlem@android.com>
Sat, 24 Jan 2015 23:08:42 +0000 (15:08 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 11 Jan 2016 04:18:49 +0000 (09:48 +0530)
Include <linux/types.h> into ashmem.h to ensure referenced types are defined

Signed-off-by: Rom Lemarchand <romlem@android.com>
Change-Id: Iac18ed86dd47296d02a269607b1514724aaa9958
(cherry picked from commit 0d7c7ba9f6428e694130a40e270516618f27ce14)

drivers/staging/android/uapi/ashmem.h

index ba4743c71d6b45d6d42c0c9711609bbd773a34ba..13df42d200b7cc003e46cebd0e28b1997341fa87 100644 (file)
@@ -13,6 +13,7 @@
 #define _UAPI_LINUX_ASHMEM_H
 
 #include <linux/ioctl.h>
+#include <linux/types.h>
 
 #define ASHMEM_NAME_LEN                256