aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-06-06 20:39:36 +0200
committerMattias Andrée <m@maandree.se>2026-06-06 20:39:36 +0200
commite61c74dba5dd3cd2a3e48aa1fc7ff2658e5cb6e1 (patch)
treeed75883a7c2527e2adc395b5e20c06d00632a5b7 /common.h
parentSecond commit (diff)
downloadgcmap-e61c74dba5dd3cd2a3e48aa1fc7ff2658e5cb6e1.tar.gz
gcmap-e61c74dba5dd3cd2a3e48aa1fc7ff2658e5cb6e1.tar.bz2
gcmap-e61c74dba5dd3cd2a3e48aa1fc7ff2658e5cb6e1.tar.xz
misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..a7cd690
--- /dev/null
+++ b/common.h
@@ -0,0 +1,27 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef COMMON_H_
+#define COMMON_H_
+
+#include <libsimple.h>
+#include <libsimple-arg.h>
+#include <libcmap.h>
+#if defined(__GNUC__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+# pragma GCC diagnostic ignored "-Wstrict-prototypes"
+#endif
+#include <gtk/gtk.h>
+#include <gdk/gdkkeysyms.h>
+#if defined(__GNUC__)
+# pragma GCC diagnostic pop
+#endif
+
+#if GTK_CHECK_VERSION(2, 12, 0)
+# define HAVE_ITEM_TOOLTIPS
+#endif
+
+#define COMMA ,
+
+#include "char-table.h"
+
+#endif