mirror of https://github.com/OISF/suricata
misc: include queue.h before other headers
At least on FreeBSD, some other include is including "sys/queue.h" which results in FreeBSDs /usr/include/sys/queue.h being picked up and setting __SYS_QUEUE_H__ so our queue.h is not picked up. But the FreeBSD queue.h does not have the CIRCLEQ definitions. To fix just include our queue.h first, which also sets __SYS_QUEUE_H__ preventing the system one from being picked up.pull/6078/head
parent
c7f44447c9
commit
d4554ec6bb
Loading…
Reference in New Issue