mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-15 15:57:59 +00:00
Fix build with old libdrm headers
This commit is contained in:
parent
cf089fdfe9
commit
13dbad6f35
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ extern "C" {
|
|||
#define DRM_FORMAT_P030 fourcc_code('P', '0', '3', '0')
|
||||
#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 <fcntl.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue