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:
parent
db13f6e282
commit
1b0da42672
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue