aboutsummaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
Diffstat (limited to 'deps')
-rw-r--r--deps/sysobj_early/include/util_edid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/sysobj_early/include/util_edid.h b/deps/sysobj_early/include/util_edid.h
index 5bb4b932..a188c135 100644
--- a/deps/sysobj_early/include/util_edid.h
+++ b/deps/sysobj_early/include/util_edid.h
@@ -25,6 +25,11 @@
#include <stdint.h> /* for *int*_t types */
#include <glib.h>
+// TODO: find a better fix, I've seen a few EDID strings with bogus chars
+#if !GLIB_CHECK_VERSION(2,52,0)
+#define g_utf8_make_valid(S,L) g_strdup(S)
+#endif
+
typedef struct _edid edid;
typedef struct {