Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 8d491a71390bbb9ac913a6ae35fa1be91474fc76 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sun, 21 Feb 2021 00:02:33 +0000
>Subject: [PATCH] save.c: include chset.h

  Error from the compiler:

save.c: In function 'init_save':
save.c:206:6: error: 'curchset' undeclared (first use in this function)
  206 |      curchset->cs_name, "2>&1 |", pager);
      |      ^~~~~~~~

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 save.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/save.c b/save.c
index 2b14d6b..cff45a3 100644
--- a/save.c
+++ b/save.c
@@ -22,6 +22,7 @@
 #include "save.h"
 #include "nn_term.h"
 #include "unshar.h"
+#include "chset.h"
 
 /* save.c */
 
-- 
2.30.0



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to