linamh/app-arch/arc/files/arc-5.21m-darwin.patch
geos_one 677e030bbd add ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
2010-10-04 19:24:16 +00:00

12 lines
268 B
Diff

--- arc-5.21m/tmclock.c
+++ arc-5.21m/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>