rsync: update to 3.3.0
[feed/packages.git] / net / snort3 / patches / 110-packet_capture-Fix-compilation-with-GCC-13.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 23 Mar 2024 19:11:15 +0100
4 Subject: packet_capture: Fix compilation with GCC 13
5
6 Fix the following compile problem with GCC 13:
7 src/network_inspectors/packet_capture/packet_capture.h:25:54: error: 'int16_t' does not name a type
8 25 | void packet_capture_enable(const std::string&, const int16_t g = -1, const std::string& t = "");
9 ---
10 src/network_inspectors/packet_capture/packet_capture.h | 1 +
11 1 file changed, 1 insertion(+)
12
13 --- a/src/network_inspectors/packet_capture/packet_capture.h
14 +++ b/src/network_inspectors/packet_capture/packet_capture.h
15 @@ -21,6 +21,7 @@
16 #define PACKET_CAPTURE_H
17
18 #include <string>
19 +#include <cstdint>
20
21 void packet_capture_enable(const std::string&, const int16_t g = -1, const std::string& t = "");
22 void packet_capture_disable();