From 048b8d21ecbd1168ff8e033b12cbfd66bba0127c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 15 Jul 2024 18:57:33 +0200 Subject: Add support for desktop portal capture (-w portal) --- include/utils.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/utils.h') diff --git a/include/utils.h b/include/utils.h index c5d659a..c08b3f6 100644 --- a/include/utils.h +++ b/include/utils.h @@ -6,7 +6,8 @@ #include "../include/defs.h" #include #include -#include + +typedef struct _XRRCrtcInfo XRRCrtcInfo; typedef struct { const char *name; @@ -41,4 +42,6 @@ bool gsr_get_valid_card_path(gsr_egl *egl, char *output, bool is_monitor_capture /* |render_path| should be at least 128 bytes in size */ bool gsr_card_path_get_render_path(const char *card_path, char *render_path); +int create_directory_recursive(char *path); + #endif /* GSR_UTILS_H */ -- cgit v1.2.3