diff --git a/ip2net/ip2net.c b/ip2net/ip2net.c index 4b9ae16..d8d33ac 100644 --- a/ip2net/ip2net.c +++ b/ip2net/ip2net.c @@ -3,14 +3,22 @@ // valid ip/bitcount and ip1-ip2 are passed through without modification // ips are groupped into subnets +// can be compiled in mingw. msvc not supported because of absent getopt + #include #include #include #include #include +#ifdef _WIN32 +#include +#include +#include +#else #include #include #include +#endif #include #include "qsort.h"