On Tue, Jan 15, 2019 at 03:04:18PM +0000, James Clarke wrote: > 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@xxxxxxxxxx> Would be good to get an ack from some other *bsd that this is still all fine. lgtm otherwise. -Daniel > --- > 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@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel