summaryrefslogtreecommitdiff
path: root/usr.bin/make/compat.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-04-23 14:32:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-04-23 14:32:54 +0000
commit807802e4fcbf071e378f83c673d21947f4618003 (patch)
tree1388eb9649d1ec457aa32553030c8ea064b3ef48 /usr.bin/make/compat.c
parentc4cc8b028da2fc9b827b985714e472baec3e832d (diff)
remove TIMESTAMP abstraction layer, prodded by theo.
while there, clean up includes. use strtoll for ar timestamps (pretty much unused in reality, more standard conforming than anything) use idea from Todd to adapt to time_t being 32 bits OR 64 bits (pedantically correct: INT_MIN would work just fine up to 1910 or so...) okay millert@, gone thru a make build.
Diffstat (limited to 'usr.bin/make/compat.c')
-rw-r--r--usr.bin/make/compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c
index c01ce1e3d2c..f0f428edc9d 100644
--- a/usr.bin/make/compat.c
+++ b/usr.bin/make/compat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.c,v 1.78 2012/11/24 11:03:45 espie Exp $ */
+/* $OpenBSD: compat.c,v 1.79 2013/04/23 14:32:53 espie Exp $ */
/* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */
/*
@@ -37,6 +37,7 @@
#include <limits.h>
#include <signal.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "config.h"