mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
Fix build with old libdrm headers
This commit is contained in:
@@ -16,6 +16,11 @@ extern "C" {
|
|||||||
#define DRM_FORMAT_P030 fourcc_code('P', '0', '3', '0')
|
#define DRM_FORMAT_P030 fourcc_code('P', '0', '3', '0')
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Regular P010 (not present in some old libdrm headers)
|
||||||
|
#ifndef DRM_FORMAT_P010
|
||||||
|
#define DRM_FORMAT_P010 fourcc_code('P', '0', '1', '0')
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user