capture: make structs more cross-platform
There were some GCC'isms here that don't port well to mingw (and likely other win32 compilers). Of note are the removal of #pragma pack to instead use the GCC attributes or MSVC declarations. Also we cannot be so liberal in our use of bitflags, we need to use common types from neighbors.
Showing with 65 additions and 33 deletions