aboutsummaryrefslogtreecommitdiff
path: root/x11/kitty/files/extra-patch-kitty_data-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kitty/files/extra-patch-kitty_data-types.h')
-rw-r--r--x11/kitty/files/extra-patch-kitty_data-types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/kitty/files/extra-patch-kitty_data-types.h b/x11/kitty/files/extra-patch-kitty_data-types.h
new file mode 100644
index 000000000000..3926ab024c92
--- /dev/null
+++ b/x11/kitty/files/extra-patch-kitty_data-types.h
@@ -0,0 +1,13 @@
+--- kitty/data-types.h.orig 2022-08-22 11:08:26 UTC
++++ kitty/data-types.h
+@@ -159,6 +159,10 @@ typedef union CellAttrs {
+ #define NUM_UNDERLINE_STYLES (5u)
+ #define SGR_MASK (~(((CellAttrs){.width=WIDTH_MASK, .mark=MARK_MASK}).val))
+
++#ifndef static_assert
++#define static_assert _Static_assert
++#endif
++
+ typedef struct {
+ color_type fg, bg, decoration_fg;
+ sprite_index sprite_x, sprite_y, sprite_z;