diff --git a/configure.ac b/configure.ac
index a92a2ffebcf..fba220b03d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,7 +170,9 @@ AS_IF([test "x${enable_tls_sigs}" = "xyes"],[
HANDLE_TLS_SIGS=""
])
-NDPI_CFLAGS="-W -Wall -Wno-unused-parameter -Wno-unused-function -Wno-address-of-packed-member ${NDPI_CFLAGS}"
+NDPI_CFLAGS="-W -Wall -Wno-unused-parameter -Wno-unused-function -Wno-address-of-packed-member ${NDPI_CFLAGS} -Wno-attributes"
+#Workaround for RoaringBitmap with gcc-7
+NDPI_CFLAGS="-Wno-attributes ${NDPI_CFLAGS}"
AS_IF([test "${with_lto_and_gold_linker+set}" = set], [
NDPI_CFLAGS="${NDPI_CFLAGS} -flto -fuse-ld=gold -Wno-unused-command-line-argument"
diff --git a/windows/nDPI.vcxproj b/windows/nDPI.vcxproj
index 5b8c7d7f4f9..f0bf2ff80d3 100644
--- a/windows/nDPI.vcxproj
+++ b/windows/nDPI.vcxproj
@@ -203,6 +203,7 @@
+
diff --git a/windows/nDPI.vcxproj.filters b/windows/nDPI.vcxproj.filters
index d3a07fd7972..45cdf4b4f57 100644
--- a/windows/nDPI.vcxproj.filters
+++ b/windows/nDPI.vcxproj.filters
@@ -167,6 +167,7 @@
+
third_party