From 51d1ebf0ea6c19bfdc4db09851666ee16449e680 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 3 Oct 2017 20:50:38 +0200 Subject: [PATCH] Install rofi-types.h and fix includes for plugins --- Makefile.am | 3 ++- include/helper.h | 2 +- include/mode.h | 2 +- meson.build | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 35c5fbcd..dbf77e99 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,8 @@ rofiincludedir=${includedir}/rofi rofiinclude_HEADERS=\ include/mode.h\ include/mode-private.h\ - include/helper.h + include/helper.h\ + include/rofi-types.h ## # Rofi the program diff --git a/include/helper.h b/include/helper.h index f8cf1c27..75d3877b 100644 --- a/include/helper.h +++ b/include/helper.h @@ -29,7 +29,7 @@ #define ROFI_HELPER_H #include -#include +#include "rofi-types.h" /** * @defgroup HELPERS Helpers diff --git a/include/mode.h b/include/mode.h index d4acead9..4a345c53 100644 --- a/include/mode.h +++ b/include/mode.h @@ -29,7 +29,7 @@ #define ROFI_MODE_H #include -#include +#include "rofi-types.h" /** * @defgroup MODE Mode * diff --git a/meson.build b/meson.build index 86afce7d..efb942df 100644 --- a/meson.build +++ b/meson.build @@ -119,6 +119,7 @@ install_headers([ 'include/mode.h', 'include/mode-private.h', 'include/helper.h', + 'include/rofi-types.h', ], subdir: meson.project_name(), )