1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
openwrt-packages/net/snort3/patches/010-gcc13.patch
Rosen Penev c990f18f4c snort3: fix compilation with gcc13
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-11-18 20:18:43 -08:00

15 lines
425 B
Diff

--- a/src/network_inspectors/packet_capture/packet_capture.h
+++ b/src/network_inspectors/packet_capture/packet_capture.h
@@ -20,9 +20,10 @@
#ifndef PACKET_CAPTURE_H
#define PACKET_CAPTURE_H
+#include <cstdint>
#include <string>
-void packet_capture_enable(const std::string&, const int16_t g = -1);
+void packet_capture_enable(const std::string&, const std::int16_t g = -1);
void packet_capture_disable();
#endif