File: gcc-14.patch

package info (click to toggle)
nstreams 1.0.4%2Bds-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: ansic: 1,548; sh: 152; makefile: 49
file content (71 lines) | stat: -rw-r--r-- 1,284 bytes parent folder | download
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Author: Andreas Tille <tille@debian.org>
Last-Update: 2024-12-11
Bug-Debian: https://bugs.debian.org/1075323
Description: Add missing includes

--- a/src/parse_tcpdump.c
+++ b/src/parse_tcpdump.c
@@ -25,6 +25,9 @@
  */
  
 #include <includes.h>
+#include <string.h>
+#include <netdb.h>
+#include <arpa/inet.h>
 #include "parse_tcpdump.h"
 
 	
--- a/src/config_rules.c
+++ b/src/config_rules.c
@@ -25,6 +25,7 @@
  *
  */
 #include <includes.h>
+#include <string.h>
 #include "parse_tcpdump.h"
 #include "ports.h"
 #include "config_rules.h"
--- a/src/nstreams.c
+++ b/src/nstreams.c
@@ -27,6 +27,9 @@
  *
  */
 #include <includes.h>
+#include <string.h>
+#include <unistd.h>
+#include <signal.h>
 #include "parse_tcpdump.h"
 #include "config_rules.h"
 #include "cache.h"
--- a/src/ports.c
+++ b/src/ports.c
@@ -33,6 +33,7 @@
  */
  
 #include <includes.h>
+#include <string.h>
 #include "ports.h"
 
 
--- a/src/cache.h
+++ b/src/cache.h
@@ -1,6 +1,8 @@
 #ifndef CACHE_H__
 #define CACHE_H__
 
+#include <netinet/in.h>
+
 struct cache {
 	char * name;
 	struct in_addr src;
--- a/src/parse_tcpdump.h
+++ b/src/parse_tcpdump.h
@@ -1,6 +1,8 @@
 #ifndef PARSE_TCPDUMP_H__
 #define PARSE_TCPDUMP_H__
 
+#include <netinet/in.h>
+
 struct tcpdump {
 	struct in_addr src;
 	struct in_addr dst;