summaryrefslogtreecommitdiffstats
path: root/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proto.h')
-rw-r--r--src/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto.h b/src/proto.h
index 4c7f8c9dad..9d1e1349d1 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -263,11 +263,12 @@ void mbyte_im_set_active(int active_arg);
# ifdef FEAT_JOB_CHANNEL
# include "job.pro"
# include "channel.pro"
+# endif
+# ifdef FEAT_EVAL
// Not generated automatically so that we can add an extra attribute.
void ch_log(channel_T *ch, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3);
void ch_error(channel_T *ch, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3);
-
# endif
# if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL)