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 <jrtc27@jrtc27.com> Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20190115150418.68080-1-jrtc27@jrtc27.com Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
38c2c7917a
commit
75b3f1cb50
@ -50,6 +50,7 @@ typedef unsigned int drm_handle_t;
|
|||||||
|
|
||||||
#else /* One of the BSDs */
|
#else /* One of the BSDs */
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include <sys/ioccom.h>
|
#include <sys/ioccom.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
typedef int8_t __s8;
|
typedef int8_t __s8;
|
||||||
|
Loading…
Reference in New Issue
Block a user