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