]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #4270: packet_capture: include cstdint in a header file
authorAndrii Serbeniuk -X (aserbeni - SOFTSERVE INC at Cisco) <aserbeni@cisco.com>
Mon, 8 Apr 2024 15:18:16 +0000 (15:18 +0000)
committerOleksii Shumeiko -X (oshumeik - SOFTSERVE INC at Cisco) <oshumeik@cisco.com>
Mon, 8 Apr 2024 15:18:16 +0000 (15:18 +0000)
Merge in SNORT/snort3 from ~ASERBENI/snort3:alpine_cstdint to master

Squashed commit of the following:

commit 2a7dfb7b1983eabf06dea5e96c1dd86bc115e60d
Author: Plup <plup@plup.io>
Date:   Tue Apr 2 13:55:02 2024 +0200

    packet_capture: include cstdint in a header file

    This resolves build issues on Alpine 3.19.1.
    Thanks to Plup <plup@plup.io> and Hauke Mehrtens <hauke@hauke-m.de> for reporting this!

src/network_inspectors/packet_capture/packet_capture.h

index 2ccca10330a4a0bc9af5ed6b20b2331825451d1f..33f4f053e0c87b30f797da212ce2c71f59a1b8b4 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef PACKET_CAPTURE_H
 #define PACKET_CAPTURE_H
 
+#include <cstdint>
 #include <string>
 
 void packet_capture_enable(const std::string&, const int16_t g = -1, const std::string& t = "");