include: add __poll_t typedef in include/linux/types.h for Android/Termux

On Android/Termux, linux/types.h is included (indirectly) by sys/epoll.h which
depends on this definition to be present.

Signed-off-by: Alain Knaff <github@misc.lka.org.lu>
This commit is contained in:
Alain Knaff
2025-10-13 19:39:24 +02:00
committed by Andrii Nakryiko
parent 3d451d916f
commit 30599e72bf

View File

@@ -30,4 +30,7 @@ struct list_head {
struct list_head *next, *prev;
};
/* needed on Android/Termux, where this linux/types.h is included by other include files */
typedef unsigned __bitwise __poll_t;
#endif