6 /* Copyright (C) 1997,1998,2000,2001, 2002, 2006,
7 * 2013 Free Software Foundation, Inc.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public License
11 * as published by the Free Software Foundation; either version 3 of
12 * the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
27 #include "libguile/__scm.h"
29 /* Needed for FD_SET on some systems. */
30 #include <sys/types.h>
32 #if SCM_HAVE_SYS_SELECT_H
34 #include <sys/select.h>
36 SCM_API
int scm_std_select (int fds
,
40 struct timeval
*timeout
);
42 #define SELECT_TYPE fd_set
44 #endif /* SCM_HAVE_SYS_SELECT_H */
46 #endif /* SCM_ISELECT_H */