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 <contact@emersion.fr>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
main
Simon Ser 2019-10-26 19:36:37 +02:00 committed by Eric Engestrom
parent 73d826be4d
commit d5682defcd
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ extern "C" {
#endif #endif
#include <drm.h> #include <drm.h>
#include <stddef.h>
#include <stdint.h>
/* /*
* This is the interface for modesetting for drm. * This is the interface for modesetting for drm.