drm: Branch 'master'

[email protected] (GitLab Mirror) Tue, 12 Nov 2019 00:20:14 +0000 (UTC)
Newsgroups gmane.comp.video.dri.patches
Message-ID <[email protected]>
 xf86drmMode.h |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d5682defcdff6bbec295a4407841ccecc0599200
Author: Simon Ser <[email protected]>
Date:   Sat Oct 26 19:36:37 2019 +0200

    Fix missing stdlib includes in xf86drmMode.h
    
    Including xf86drmMode.h results in undefined references to uint32_t
    and ssize_t. Include the stdlib headers that define them to allow the
    file to be included without xf86drm.h.
    
    Signed-off-by: Simon Ser <[email protected]>
    Reviewed-by: Eric Engestrom <[email protected]>

diff --git a/xf86drmMode.h b/xf86drmMode.h
index a32902f7..159a3993 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -41,6 +41,8 @@ extern "C" {
 #endif
 
 #include <drm.h>
+#include <stddef.h>
+#include <stdint.h>
 
 /*
  * This is the interface for modesetting for drm.


--