Skip to content

Commit 75b3f1c

Browse files
jrtc27anholt
authored andcommitted
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>
1 parent 38c2c79 commit 75b3f1c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/uapi/drm/drm.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ typedef unsigned int drm_handle_t;
5050

5151
#else /* One of the BSDs */
5252

53+
#include <stdint.h>
5354
#include <sys/ioccom.h>
5455
#include <sys/types.h>
5556
typedef int8_t __s8;

0 commit comments

Comments
 (0)