diff --git a/bochs/gui/vncsrv.cc b/bochs/gui/vncsrv.cc index 6c4d46432..dd09a0947 100644 --- a/bochs/gui/vncsrv.cc +++ b/bochs/gui/vncsrv.cc @@ -7,7 +7,7 @@ // Donald Becker // http://www.psyon.org // -// Copyright (C) 2001-2023 The Bochs Project +// Copyright (C) 2001-2024 The Bochs Project // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -44,6 +44,10 @@ // is used to know when we are exporting symbols and when we are importing. #define BX_PLUGGABLE +#ifdef __CYGWIN__ +#define __USE_W32_SOCKETS +#endif + #include "param_names.h" #include "iodev.h" #include "keymap.h"