All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: Fix drm.h uapi header for GNU/kFreeBSD
@ 2019-01-15 15:04 James Clarke
  2019-01-15 15:17 ` Daniel Vetter
  2019-05-09 17:42 ` Eric Anholt
  0 siblings, 2 replies; 10+ messages in thread
From: James Clarke @ 2019-01-15 15:04 UTC (permalink / raw)
  To: dri-devel; +Cc: James Clarke

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>
---
 include/uapi/drm/drm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
index 300f33663..caf4d9b38 100644
--- 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;
-- 
2.17.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-05-16 16:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 15:04 [PATCH] drm: Fix drm.h uapi header for GNU/kFreeBSD James Clarke
2019-01-15 15:17 ` Daniel Vetter
2019-01-15 18:41   ` Eric Anholt
2019-05-04 20:43     ` James Clarke
2019-05-06  8:16       ` Daniel Vetter
2019-05-06 23:10         ` James Clarke
2019-05-07  8:26           ` Daniel Vetter
2019-05-09 17:42 ` Eric Anholt
2019-05-16 16:37   ` Eric Anholt
2019-05-16 16:58     ` Eric Engestrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.