diff --git a/src/server.c b/src/server.c index 9d2d450..22ad76b 100644 --- a/src/server.c +++ b/src/server.c @@ -29,6 +29,14 @@ #include #include +#ifndef DRM_FORMAT_INVALID +#define DRM_FORMAT_INVALID 0 +#endif + +#ifndef DRM_FORMAT_MOD_LINEAR +#define DRM_FORMAT_MOD_LINEAR DRM_FORMAT_MOD_NONE +#endif + #define DEFAULT_NAME "Neat VNC" #define READ_BUFFER_SIZE 4096 #define MSG_BUFFER_SIZE 4096