1
0
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:
Nick Briggs
2018-03-27 10:39:23 -07:00
parent 8e99402729
commit 69796e34d7
5 changed files with 15 additions and 4 deletions

View File

@@ -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);