aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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