Chez Scheme: fix missing include in externs.h

The correct header is needed to build with musl.
This commit is contained in:
Ismael Luceno 2021-03-09 20:16:23 +01:00 committed by Matthew Flatt
parent 288d13b85a
commit 44964359ae
5 changed files with 1 additions and 5 deletions

View File

@ -548,7 +548,6 @@ static void s_ee_write_char(wchar_t c) {
#endif #endif
#include <termios.h> #include <termios.h>
#include <signal.h> #include <signal.h>
#include <time.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <wchar.h> #include <wchar.h>

View File

@ -23,6 +23,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <time.h>
#ifndef WIN32 #ifndef WIN32
#include <unistd.h> #include <unistd.h>

View File

@ -21,7 +21,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <limits.h> #include <limits.h>
#include <ctype.h> #include <ctype.h>
#include <time.h>
/* locally defined functions */ /* locally defined functions */
static INT s_errno PROTO((void)); static INT s_errno PROTO((void));

View File

@ -20,7 +20,6 @@
#include <limits.h> #include <limits.h>
#ifdef WIN32 #ifdef WIN32
#include <io.h> #include <io.h>
#include <time.h>
#else #else
#include <sys/time.h> #include <sys/time.h>
#endif #endif

View File

@ -36,8 +36,6 @@
#include <sys/resource.h> #include <sys/resource.h>
#endif #endif
#include <time.h>
static struct timespec starting_mono_tp; static struct timespec starting_mono_tp;
static long adjust_time_zone(ptr dtvec, struct tm *tmxp, ptr given_tzoff); static long adjust_time_zone(ptr dtvec, struct tm *tmxp, ptr given_tzoff);