summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--include/sys/types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 11312a1e..d1968b85 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -170,7 +170,7 @@ noinst_PROGRAMS += \
# This is the list of routines we decide is OK to steal from the C library.
clib_routines := htonl htons ntohl ntohs \
udivdi3 __udivdi3 __udivmoddi4 __umoddi3 \
- __divdi3 \
+ __divdi3 __moddi3 \
__rel_iplt_start __rel_iplt_end \
__ffsdi2 ffs \
_START _start etext _edata end _end # actually ld magic, not libc.
diff --git a/include/sys/types.h b/include/sys/types.h
index d576cc2a..8d5af37a 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -54,7 +54,7 @@ typedef char * caddr_t; /* address of a (signed) char */
#ifndef _TIME_T
#define _TIME_T
-typedef unsigned int time_t;
+typedef unsigned long long time_t;
#endif
#define RAND_MAX 0x7fffffff