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

Add Gnulib 'sys_select' module, needed for MinGW.

This is again from Gnulib v0.1-5703-g356a414e8c.

* m4/gnulib-cache.m4: Add 'sys_select'.
* libguile/threads.c: Include <sys/select.h>.
This commit is contained in:
Ludovic Courtès 2023-01-19 15:42:08 +01:00
parent a43a8fd8ba
commit 616c217409
3 changed files with 5 additions and 1 deletions

View file

@ -135,6 +135,7 @@
# stdlib \ # stdlib \
# striconveh \ # striconveh \
# string \ # string \
# sys_select \
# sys_stat \ # sys_stat \
# time \ # time \
# times \ # times \

View file

@ -1,4 +1,4 @@
/* Copyright 1995-1998,2000-2014,2018-2019 /* Copyright 1995-1998,2000-2014,2018-2019,2023
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of Guile. This file is part of Guile.
@ -32,6 +32,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> /* for memset used by FD_ZERO on Solaris 10 */ #include <string.h> /* for memset used by FD_ZERO on Solaris 10 */
#include <sys/time.h> #include <sys/time.h>
#include <sys/select.h> /* from Gnulib */
#include <unistd.h> #include <unistd.h>
#if HAVE_PTHREAD_NP_H #if HAVE_PTHREAD_NP_H

View file

@ -140,6 +140,7 @@
# stdlib \ # stdlib \
# striconveh \ # striconveh \
# string \ # string \
# sys_select \
# sys_stat \ # sys_stat \
# time \ # time \
# times \ # times \
@ -246,6 +247,7 @@ gl_MODULES([
stdlib stdlib
striconveh striconveh
string string
sys_select
sys_stat sys_stat
time time
times times