kmssink: include drm.h after stdlib.h

As drm.h is internal to libdrm, it expects to have already included
stdlib.h.
parent 79cd4bb4
......@@ -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"
......
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