History

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.

James Clarke committed 7 years ago

Commit 75b3f1c1 parent 38c2c791 file · +1 −0Browse files

Unified · Split

include/uapi/drm/drm.h+1−0
@@ -50,6 +50,7 @@ typedef unsigned int drm_handle_t; · 49 unmodified lines
50 50
51#else /* One of the BSDs */51#else /* One of the BSDs */
52 52
53#include <stdint.h>
53#include <sys/ioccom.h>54#include <sys/ioccom.h>
54#include <sys/types.h>55#include <sys/types.h>
55typedef int8_t __s8;56typedef int8_t __s8;