Sysinternals / SysmonForLinux

MIT License
1.72k stars 182 forks source link

Networktracker fixes for Linux compilers #34

Closed ckane closed 2 years ago

ckane commented 2 years ago

Trying to compile this with LLVM/Clang 12 with -Werror,-Wall and the symbol stderr couldn't be found because it lives in stdio.h that wasn't #include'd. Also the data structure NetworkTrackeris originally defined as a class, but then in networkTracker.cpp it is referred to as a struct. The course of action for that issue is to remove the struct keyword so it is treated as a class.

This PR fixes these two issues.

ckane commented 2 years ago

@kesheldr great to hear, I have been testing against Clang/LLVM 12.x