aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h5
1 files changed, 4 insertions, 1 deletions
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 <stdbool.h>
#include <stdint.h>
-#include <X11/extensions/Xrandr.h>
+
+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 */