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
@ -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…
x
Reference in New Issue
Block a user