kms: include stdlib.h

drm.h does not include all what it needs to compile, in particular
stdlib.h which defines size_t
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-11-23 19:41:43 +01:00
parent 8d8661f1f8
commit 79cd4bb44b

View file

@ -30,6 +30,7 @@
#include <drm.h> #include <drm.h>
#include <xf86drm.h> #include <xf86drm.h>
#include <xf86drmMode.h> #include <xf86drmMode.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <unistd.h> #include <unistd.h>