refactor(surface): wrap typedef struct _XDisplay inside #ifdef guards for linux

This commit is contained in:
light7734 2025-09-25 22:24:03 +03:30
parent 34fa8344ac
commit 84d0026051
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -7,7 +7,9 @@
#include <surface/requests/surface.hpp>
#include <variant>
#ifdef LIGHT_PLATFORM_LINUX
typedef struct _XDisplay Display;
#endif
namespace lt::surface {