From d5682defcdff6bbec295a4407841ccecc0599200 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 26 Oct 2019 19:36:37 +0200 Subject: [PATCH] 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 Reviewed-by: Eric Engestrom --- xf86drmMode.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#include +#include /* * This is the interface for modesetting for drm.