709c8cc37e
Fix the following build failure with gcc >= 13: In file included from /home/thomas/autobuild/instance-1/output-1/build/snort3-3.1.40.0/src/packet_io/sfdaq_config.cc:25: /home/thomas/autobuild/instance-1/output-1/build/snort3-3.1.40.0/src/packet_io/sfdaq_config.h:59:25: error: 'uint32_t' has not been declared 59 | void set_batch_size(uint32_t); | ^~~~~~~~ /home/thomas/autobuild/instance-1/output-1/build/snort3-3.1.40.0/src/packet_io/sfdaq_config.h:62:5: error: 'uint32_t' does not name a type 62 | uint32_t get_batch_size() const { return (batch_size == BATCH_SIZE_UNSET) ? BATCH_SIZE_DEFAULT : batch_size; } | ^~~~~~~~ /home/thomas/autobuild/instance-1/output-1/build/snort3-3.1.40.0/src/packet_io/sfdaq_config.h:26:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 25 | #include <vector> +++ |+#include <cstdint> 26 | Fixes: - http://autobuild.buildroot.org/results/c91a74bad542f32693f2e31412fba70446fd3959 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
0001-Pull-request-3925-build-fix-cstdint-related-clearlinux-errors.patch | ||
Config.in | ||
snort3.hash | ||
snort3.mk |