Following patch fixes some bugs on cygwin compilation of netsnmp-5.7.3.
cygwin version:
$ uname -an
CYGWIN_NT-5.1 TR374 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin
this is configure command
./configure --prefix=/usr/local --with-mib-modules="host agentx disman/event-mib examples/example" --with-out-mib-modules=host/hr_network --with-libs="-lws2_32" --disable-embedded-perl --without-perl-modules --with-transports="TCP UDP" --disable-ipv6 --without-openssl
Threre some bugs on specific code for cygwin and fails to compile. Attached patch solves compilation problems.on swrun_cygwin.c
Best Regards,
Jorge.
Sorry for netsnmp-7.5.3 name mistake, i dont know how to changes to netsnmp-5.7.3