diff --git a/termite.c b/termite.c index 003cdf2..ef26007 100644 --- a/termite.c +++ b/termite.c @@ -9,6 +9,10 @@ #include "config.h" +#ifndef __GNUC__ +# define __attribute__(x) +#endif + static gboolean key_press_cb(GtkWidget *vte, GdkEventKey *event) { const GdkModifierType modifiers = event->state & gtk_accelerator_get_default_mod_mask(); if (modifiers == (GDK_CONTROL_MASK|GDK_SHIFT_MASK)) {