appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.19k stars 268 forks source link

Bug #558 Restructure includes to pick up proper header #601

Closed fklassen closed 4 years ago

fklassen commented 4 years ago

Fragroute relies on down-level lib/queue.h which is copied from older versions of FreeBSD. Depending on the order of includes, some source files were using it, and others were picking up /usr/include/sys/queue.h.

Fix is to ensure that there is a lib/queue.h include before any #include defines.h