diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 14:13:01 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 14:13:01 +0100 |
| commit | 204e4bd19c62a7f1030333ec646d776abbbb7917 (patch) | |
| tree | 50f7af596935ad2269d868f4fe320f546869bc5b /util/isol.c | |
| parent | b5b2075a902277c33d7cf1b82f49f0fac7ef4cb9 (diff) | |
New upstream version 3.2.2upstream/3.2.2upstream
Diffstat (limited to 'util/isol.c')
| -rw-r--r-- | util/isol.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/util/isol.c b/util/isol.c index 447945b..a65fbc2 100644 --- a/util/isol.c +++ b/util/isol.c @@ -19,6 +19,7 @@ * 05/24/07 Andy Cress - Fix Enter key confusion in BIOS Setup (use CR+LF) * 06/15/07 Andy Cress - More fixes to Windows translation (fUseWinCon) * 08/20/07 Andy Cress - moved Windows translation to isolwin.c + * 01/31/26 Andy Cress - added WIN32_LEAN_AND_MEAN * See ChangeLog for further changes * * NOTE: There are a few other options for Serial-Over-LAN console @@ -73,10 +74,15 @@ int i_sol(int argc, char **argv) /* All other OSs: Linux, Windows, Solaris, BSD */ #ifdef WIN32 +#define WIN32_LEAN_AND_MEAN +#ifdef HAVE_IPV6 +#include <winsock2.h> +#else +#include <winsock.h> +#endif #include <windows.h> #include <stdio.h> #include <stdlib.h> -#include <winsock.h> #include <io.h> #include "getopt.h" #else |
