]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
output-packet.h: include tm-threads.h and decode.h
authorJason Ish <jason.ish@oisf.net>
Tue, 27 Aug 2024 21:27:15 +0000 (15:27 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 31 Aug 2024 08:53:59 +0000 (10:53 +0200)
This allows the header to be used without including other headers this
one depends on.

Ticket: #7227

src/output-packet.h

index ce11535f71a7e7ffa83d103c332f6fb68c975ef8..83712007133400786132a93a4cf145239b088827 100644 (file)
@@ -26,6 +26,9 @@
 #ifndef SURICATA_OUTPUT_PACKET_H
 #define SURICATA_OUTPUT_PACKET_H
 
+#include "tm-threads.h"
+#include "decode.h"
+
 /** packet logger function pointer type */
 typedef int (*PacketLogger)(ThreadVars *, void *thread_data, const Packet *);