rktio: add some missing #includes in some configurations

This commit is contained in:
Matthew Flatt 2017-06-25 08:38:30 -06:00
parent 95ddfa4972
commit 3e8ad02334
4 changed files with 8 additions and 1 deletions

View File

@ -743,7 +743,7 @@ void* scheme_jit_find_code_end(void *p) { return NULL; }
void scheme_thread_start_child(Scheme_Thread *child, Scheme_Object *child_thunk)
{
return scheme_do_thread_start_child(child, child_thunk);
scheme_do_thread_start_child(child, child_thunk);
}
#endif

View File

@ -15,6 +15,7 @@
#if defined(RKTIO_USE_FCNTL_AND_FORK_FOR_FILE_LOCKS)
#include <unistd.h>
#include <fcntl.h>
#include <sys/wait.h>
typedef struct pair_t { int car, cdr; } pair_t;
#endif

View File

@ -6,6 +6,9 @@
# include <fcntl.h>
# include <errno.h>
# include <math.h>
# ifdef USE_ULIMIT
# include <ulimit.h>
# endif
#endif
#ifdef HAVE_POLL_SYSCALL
# include <poll.h>

View File

@ -9,6 +9,9 @@
# include <sys/wait.h>
# include <errno.h>
# include <unistd.h>
# ifdef USE_ULIMIT
# include <ulimit.h>
# endif
#endif
#if defined(RKTIO_SYSTEM_UNIX) && defined(RKTIO_USE_PTHREADS)