1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

on MinGW, prefer winsock2.h over sys/select in iselect

* libguile/iselect.h [__MINGW32__]: add winsock2 include
This commit is contained in:
Mike Gran 2021-01-28 17:01:07 -08:00 committed by Michael Gran
parent db13f6e282
commit 1b0da42672

View file

@ -23,7 +23,11 @@
#include <sys/types.h> /* Needed for FD_SET on some systems. */
#ifdef __MINGW32__
#include <winsock2.h>
#else
#include <sys/select.h>
#endif
#include "libguile/scm.h"