mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
79cd4bb44b
commit
88dbae3ab9
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue