um: include sys/types.h for size_t
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 17 Jul 2022 08:53:46 +0000 (10:53 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 17 Jul 2022 21:47:18 +0000 (23:47 +0200)
commitaf3e16101cee95efaa72095fe06c15ec0b8eb195
tree61de3317bcd97a851603a2fa3f23e267c9464184
parent8970d5c9f4a95db6efa9158814b953bfa0bf1f5b
um: include sys/types.h for size_t

Usually size_t comes from sys/types.h, not stddef.h. This code likely
worked only because something else in its usage chain was pulling in
sys/types.h. stddef.h is still required for NULL, however, so note this.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/user.h