blob: 85a36593dbf2559abd650b1767b1d3c28e80b154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/tmclock.c
+++ b/tmclock.c
@@ -14,7 +14,7 @@
/* Julian day number of the Unix* clock's origin, 01 Jan 1970. */
#define JD1970 2440587L
#define CENTURY 19
-#if BSD
+#if BSD || defined(__MACH_O__)
#include <sys/time.h>
#else
#include <time.h>
|