summaryrefslogtreecommitdiff
path: root/finch/plugins
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2018-12-04 03:27:04 +0000
committerGary Kramlich <grim@reaperworld.com>2018-12-04 03:27:04 +0000
commitcb597881956ace7ea1ed440afc05604116ae82ee (patch)
tree06e3f998c0fd31bc65e734558703249c0dd9b236 /finch/plugins
parent050a32ce3e51c9b3bf1add4ef51c1f092314546c (diff)
parentaf1888dc3a81cb8c30fb55ad1797399497e7e791 (diff)
downloadpidgin-cb597881956ace7ea1ed440afc05604116ae82ee.tar.gz
Merged in default (pull request #440)
Switch to external libgnt Approved-by: Gary Kramlich Approved-by: Mike Ruprecht
Diffstat (limited to 'finch/plugins')
-rw-r--r--finch/plugins/gntgf.c2
-rw-r--r--finch/plugins/meson.build5
2 files changed, 5 insertions, 2 deletions
diff --git a/finch/plugins/gntgf.c b/finch/plugins/gntgf.c
index aaee0f32af..da18914e91 100644
--- a/finch/plugins/gntgf.c
+++ b/finch/plugins/gntgf.c
@@ -21,6 +21,8 @@
#include "internal.h"
+#include NCURSES_HEADER
+
#define PLUGIN_STATIC_NAME GntGf
#define PREFS_PREFIX "/plugins/gnt/gntgf"
diff --git a/finch/plugins/meson.build b/finch/plugins/meson.build
index 9cdb523f7f..73e6bcc990 100644
--- a/finch/plugins/meson.build
+++ b/finch/plugins/meson.build
@@ -6,7 +6,8 @@ if PLUGINS
install : true, install_dir : FINCH_PLUGINDIR)
gntgf = library('gntgf', 'gntgf.c',
- dependencies : [x11, libpurple_dep, libfinch_dep, glib],
+ c_args : ncurses_header,
+ dependencies : [x11, libpurple_dep, libfinch_dep, ncurses, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
endif
@@ -17,7 +18,7 @@ if PLUGINS
install : true, install_dir : FINCH_PLUGINDIR)
gntlastlog = library('gntlastlog', 'lastlog.c',
- dependencies : [libpurple_dep, libfinch_dep, glib],
+ dependencies : [libpurple_dep, libfinch_dep, ncurses, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)