projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c2c79
)
drm: Fix drm.h uapi header for GNU/kFreeBSD
author
James Clarke
<jrtc27@jrtc27.com>
Tue, 15 Jan 2019 15:04:18 +0000
(15:04 +0000)
committer
Eric Anholt
<eric@anholt.net>
Thu, 16 May 2019 16:25:15 +0000
(09:25 -0700)
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>
include/uapi/drm/drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/drm.h
b/include/uapi/drm/drm.h
index 661d73f9a919996f88bec2c37e1e5543b8159373..8a5b2f8f8eb98b0f1f170960239327d420971354 100644
(file)
--- 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 <stdint.h>
#include <sys/ioccom.h>
#include <sys/types.h>
typedef int8_t __s8;