aboutsummaryrefslogtreecommitdiff
path: root/src/qt/updater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/updater.cpp')
-rw-r--r--src/qt/updater.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/updater.cpp b/src/qt/updater.cpp
index 63078640..356dbae1 100644
--- a/src/qt/updater.cpp
+++ b/src/qt/updater.cpp
@@ -26,6 +26,10 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#if defined(_WIN32) && !defined(MONERO_GUI_STATIC)
+ #include <Winsock2.h>
+#endif
+
#include "updater.h"
#include <common/util.h>