drm.h: use __kernel_size_t instead of size_t
authorMikko Rapeli <mikko.rapeli@iki.fi>
Sun, 31 Aug 2014 10:58:46 +0000 (12:58 +0200)
committerGabriel Laskar <gabriel@lse.epita.fr>
Thu, 10 Dec 2015 11:33:23 +0000 (12:33 +0100)
commit1a2a42c8bfa25ef0f7e14c5973c6a0bebe625a96
tree9662dbf8655f2fbc8243f6d7ccf8f422e905ea3e
parent527e9316f8ec44bd53d90fb9f611fa7ffff52bb9
drm.h: use __kernel_size_t instead of size_t

Fall back to size_t for non Linux platforms.

Fixes userspace compilation error:

drm/drm.h:132:2: error: unknown type name ‘size_t’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
include/uapi/drm/drm.h