[PATCH 3.16 30/63] staging: ashmem: Add missing include

From: Ben Hutchings
Date: Wed Jan 08 2020 - 14:48:27 EST


3.16.81-rc1 review patch. If anyone has any objections, please let me know.

------------------

From: Rom Lemarchand <romlem@xxxxxxxxxxx>

commit 90a2f171383b5ae43b33ab4d9d566b9765622ac7 upstream.

Include <linux/types.h> into ashmem.h to ensure referenced types
are defined

Cc: Android Kernel Team <kernel-team@xxxxxxxxxxx>
Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Rom Lemarchand <romlem@xxxxxxxxxxx>
[jstultz: Minor commit message tweaks]
Signed-off-by: John Stultz <john.stultz@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
---
drivers/staging/android/uapi/ashmem.h | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/staging/android/uapi/ashmem.h
+++ b/drivers/staging/android/uapi/ashmem.h
@@ -13,6 +13,7 @@
#define _UAPI_LINUX_ASHMEM_H

#include <linux/ioctl.h>
+#include <linux/types.h>

#define ASHMEM_NAME_LEN 256