diff options
author | Mike Gran <spk121@yahoo.com> | 2021-01-28 17:01:07 -0800 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2021-03-11 09:37:12 -0800 |
commit | 1b0da42672262426bca7bb58e70fb753c628ffc3 (patch) | |
tree | d5dd44f41c981b19ba80e69e0eed55530e3d227a | |
parent | db13f6e282cb0291018e1fb6e32c858298907d83 (diff) | |
download | guile-1b0da42672262426bca7bb58e70fb753c628ffc3.tar.gz |
on MinGW, prefer winsock2.h over sys/select in iselect
* libguile/iselect.h [__MINGW32__]: add winsock2 include
-rw-r--r-- | libguile/iselect.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libguile/iselect.h b/libguile/iselect.h index 3b66c0fc5..9d0c4e609 100644 --- a/libguile/iselect.h +++ b/libguile/iselect.h @@ -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" |