kms: include stdlib.h

drm.h does not include all what it needs to compile, in particular
stdlib.h which defines size_t
parent 8d8661f1
......@@ -30,6 +30,7 @@
#include <drm.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment