Fixed: Fixed x11 build
Some checks are pending
Go / test (macOS-latest) (push) Waiting to run
Go / test (windows-latest) (push) Waiting to run

This commit is contained in:
vcaesar 2024-10-06 18:11:23 -07:00
parent bed6776ca2
commit 75fd24ea0a

View File

@ -1,5 +1,4 @@
#include "../base/bitmap_free_c.h"
#include "screen_c.h"
#include <stdlib.h> /* malloc() */
#if defined(IS_MACOSX)
@ -14,6 +13,7 @@
#elif defined(IS_WINDOWS)
#include <string.h>
#endif
#include "screen_c.h"
#if defined(IS_MACOSX) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > MAC_OS_VERSION_14_4
static CGImageRef capture15(CGDirectDisplayID id, CGRect diIntersectDisplayLocal, CGColorSpaceRef colorSpace) {