src: do not have queue.h and tree.h in suricata-common.h

Let every user include it directly

Ticket: 945
pull/16404/head
Philippe Antoine 3 weeks ago committed by Victor Julien
parent 7610e36bb2
commit 1f7f980ac4

@ -24,6 +24,7 @@
#ifndef SURICATA_DEFRAG_H
#define SURICATA_DEFRAG_H
#include "tree.h"
#include "threads.h"
#include "util-pool.h"
#include "threadvars.h"

@ -534,10 +534,6 @@ typedef struct lua_State lua_State;
#include "util-atomic.h"
#include "util-unittest.h"
// pseudo system headers
#include "queue.h"
#include "tree.h"
#ifndef HAVE_STRLCAT
size_t strlcat(char *, const char *src, size_t siz);
#endif

@ -24,6 +24,7 @@
#ifndef SURICATA_TM_QUEUES_H
#define SURICATA_TM_QUEUES_H
#include "queue.h"
#include "packet-queue.h"
typedef struct Tmq_ {

@ -24,6 +24,8 @@
#ifndef SURICATA_UTIL_ROHASH_H
#define SURICATA_UTIL_ROHASH_H
#include "queue.h"
typedef struct ROHashTable_ {
uint8_t locked;
uint8_t hash_bits;

Loading…
Cancel
Save