mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-23 01:06:43 +00:00
More linux related fixups for string.h.
Fix some type warnings. modified: ../src/dsk.c modified: ../src/fvar.c modified: ../src/ldsout.c modified: ../src/main.c modified: ../src/timer.c
This commit is contained in:
@@ -77,6 +77,10 @@ extern int ether_fd;
|
||||
#endif
|
||||
|
||||
#ifdef LINUX
|
||||
#include <stropts.h>
|
||||
#include <sys/ioctl.h>
|
||||
#define _BSD_SOURCE
|
||||
#include <signal.h>
|
||||
#include <sys/times.h>
|
||||
#endif
|
||||
|
||||
@@ -421,7 +425,7 @@ LispPTR N_OP_rclk(LispPTR tos)
|
||||
struct timeval timev;
|
||||
|
||||
gettimeofday(&timev, NULL);
|
||||
usec = (timev.tv_sec * 1000000) + timev.tv_usec;
|
||||
usec = (timev.tv_sec * 1000000UL) + timev.tv_usec;
|
||||
#endif /* USETIMEFN */
|
||||
*((unsigned int *)(Addr68k_from_LADDR(tos))) = usec;
|
||||
return (tos);
|
||||
|
||||
Reference in New Issue
Block a user