File wireshark-mingw64-wireshark.patch of Package mingw64-wireshark
diff --git a/ui/qt/widgets/qcustomplot.h b/ui/qt/widgets/qcustomplot.h index a7d80c3..7d07b4e 100644 --- a/ui/qt/widgets/qcustomplot.h +++ b/ui/qt/widgets/qcustomplot.h @@ -90,6 +90,10 @@ #else # include <QtNumeric> # include <QtWidgets/QWidget> +#ifdef Q_OS_WIN + #include <winsock2.h> + #include <windows.h> +#endif # include <QtPrintSupport/QtPrintSupport> #endif #if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0)