From: James Clarke Date: Tue, 15 Jan 2019 15:04:18 +0000 (+0000) Subject: drm: Fix drm.h uapi header for GNU/kFreeBSD X-Git-Tag: v5.3-rc1~81^2~27^2~48 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=75b3f1cb50bd;p=users%2Fjedix%2Flinux-maple.git drm: Fix drm.h uapi header for GNU/kFreeBSD Like GNU/Linux, GNU/kFreeBSD's sys/types.h does not define the uintX_t types, which differs from the BSDs' headers. Thus we should include stdint.h to ensure we have all the required integer types. Signed-off-by: James Clarke Signed-off-by: Eric Anholt Link: https://patchwork.freedesktop.org/patch/msgid/20190115150418.68080-1-jrtc27@jrtc27.com Reviewed-by: Eric Anholt --- diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 661d73f9a919..8a5b2f8f8eb9 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -50,6 +50,7 @@ typedef unsigned int drm_handle_t; #else /* One of the BSDs */ +#include #include #include typedef int8_t __s8;