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

Dear Maintainer,

>From 5eeaef7beab911c03b7c0b6211f734b93e8b9665 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sun, 7 Mar 2021 23:09:28 +0000
>Subject: [PATCH] decode.c: add missing header file "data.h"

  Header file "global.h" must be before "data.h".

  The header file "data.h" is for the "article_header" structure.

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 decode.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/decode.c b/decode.c
index 2fba7c0..3047e42 100644
--- a/decode.c
+++ b/decode.c
@@ -12,8 +12,10 @@
 #include <stdio.h>
 #include <string.h>
 #include "config.h"
+#include "global.h" /* must be before "data.h" */
+/* "data.h" is for structure "article_header" in "decode.h" */
+#include "data.h"
 #include "decode.h"
-#include "global.h"
 #include "save.h"
 #include "nn_term.h"
 
-- 
2.30.1



-- 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