diff --git a/Makefile b/Makefile index 56c3c07..8da9b3b 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ UNAME := $(shell uname) VERSION := $(shell git describe --tag) ifeq ($(VERSION),) - VERSION=v2.0.6 + VERSION=v2.0.7 endif # =================================================== diff --git a/org.conman.dns-2.0.6-1.rockspec b/org.conman.dns-2.0.7-1.rockspec similarity index 96% rename from org.conman.dns-2.0.6-1.rockspec rename to org.conman.dns-2.0.7-1.rockspec index 18c204b..a07a8be 100644 --- a/org.conman.dns-2.0.6-1.rockspec +++ b/org.conman.dns-2.0.7-1.rockspec @@ -1,10 +1,10 @@ package = "org.conman.dns" -version = "2.0.6-1" +version = "2.0.7-1" source = { url = "git+https://github.com/spc476/SPCDNS.git", - tag = "v2.0.6" + tag = "v2.0.7" } description = diff --git a/src/dns.h b/src/dns.h index eb26881..8bc20f0 100644 --- a/src/dns.h +++ b/src/dns.h @@ -53,7 +53,11 @@ #include #if defined(_WIN32) # include -# include +# ifdef _MSC_VER +# include +# else +# include +# endif typedef uint32_t in_addr_t; #else # include