diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2016-11-23 19:41:43 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2016-11-23 19:44:49 +0100 |
commit | 79cd4bb44b782f6c69e6316e0aa19c597cafeb0f (patch) | |
tree | e6aefa6f6888b438ec505b7734bc60ddf6ac64a2 /sys | |
parent | 8d8661f1f847a22f51fd3175bd05f5a6bf650637 (diff) | |
download | gstreamer-plugins-bad-79cd4bb44b782f6c69e6316e0aa19c597cafeb0f.tar.gz |
kms: include stdlib.h
drm.h does not include all what it needs to compile, in particular
stdlib.h which defines size_t
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kms/gstkmsallocator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kms/gstkmsallocator.c b/sys/kms/gstkmsallocator.c index 82af265cd..2451e3059 100644 --- a/sys/kms/gstkmsallocator.c +++ b/sys/kms/gstkmsallocator.c @@ -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> |