All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Clarke <jrtc27@jrtc27.com>
To: dri-devel@lists.freedesktop.org
Cc: James Clarke <jrtc27@jrtc27.com>
Subject: [PATCH] drm: Fix drm.h uapi header for GNU/kFreeBSD
Date: Tue, 15 Jan 2019 15:04:18 +0000	[thread overview]
Message-ID: <20190115150418.68080-1-jrtc27@jrtc27.com> (raw)

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

             reply	other threads:[~2019-01-15 15:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15 15:04 James Clarke [this message]
2019-01-15 15:17 ` [PATCH] drm: Fix drm.h uapi header for GNU/kFreeBSD 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190115150418.68080-1-jrtc27@jrtc27.com \
    --to=jrtc27@jrtc27.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.