kmssink: include drm.h after stdlib.h

As drm.h is internal to libdrm, it expects to have already included
stdlib.h.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-11-23 20:13:59 +01:00
parent 79cd4bb44b
commit 88dbae3ab9

View file

@ -27,7 +27,6 @@
#include "config.h"
#endif
#include <drm.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <stdlib.h>
@ -35,6 +34,9 @@
#include <sys/mman.h>
#include <unistd.h>
/* it needs to be below because is internal to libdrm */
#include <drm.h>
#include "gstkmsallocator.h"
#include "gstkmsutils.h"