aboutsummaryrefslogtreecommitdiff
path: root/deps/sysobj_early/gui/uri_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/sysobj_early/gui/uri_handler.c')
-rw-r--r--deps/sysobj_early/gui/uri_handler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/sysobj_early/gui/uri_handler.c b/deps/sysobj_early/gui/uri_handler.c
index 055dbaca..de9f64a7 100644
--- a/deps/sysobj_early/gui/uri_handler.c
+++ b/deps/sysobj_early/gui/uri_handler.c
@@ -21,6 +21,11 @@
#include <stdio.h>
#include "uri_handler.h"
+//compatibility
+#ifndef G_SPAWN_DEFAULT
+#define G_SPAWN_DEFAULT 0
+#endif
+
static uri_handler uri_func = NULL;
void uri_set_function(uri_handler f) {