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-Url: http://git.osdn.net/view?a=commitdiff_plain;h=75b3f1cb50bdbdc7fd557ca3ed63b3eb87c2bab3;p=uclinux-h8%2Flinux.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;