Commit 75b3f1cb authored by James Clarke's avatar James Clarke Committed by Eric Anholt
Browse files

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: default avatarJames Clarke <jrtc27@jrtc27.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190115150418.68080-1-jrtc27@jrtc27.com


Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 38c2c791
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ typedef unsigned int drm_handle_t;

#else /* One of the BSDs */

#include <stdint.h>
#include <sys/ioccom.h>
#include <sys/types.h>
typedef int8_t   __s8;