summaryrefslogtreecommitdiff
path: root/net-misc/tinyssh/files/tinyssh-20240101_c99.patch
blob: 38b2e845eaa51d63037cb29ba7fcf97ed33b1ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From ae059fda00c11236a32499f105e803f962d1e243 Mon Sep 17 00:00:00 2001
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Date: Tue, 9 Jan 2024 19:51:14 +0100
Subject: [PATCH] packet_put: Add missing bug.h include for global_die

```
packet_put.c:53:9: error: call to undeclared function 'global_die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        global_die(111);
        ^
1 error generated.
```

Upstream: https://github.com/janmojzis/tinyssh/pull/84

---
 tinyssh/packet_put.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tinyssh/packet_put.c b/tinyssh/packet_put.c
index 17e8d84..7f46ff6 100644
--- a/tinyssh/packet_put.c
+++ b/tinyssh/packet_put.c
@@ -6,6 +6,7 @@ Public domain.
 
 #include "uint32_pack_big.h"
 #include "buf.h"
+#include "bug.h"
 #include "sshcrypto.h"
 #include "ssh.h"
 #include "log.h"
-- 
2.41.0