Author: Pino Toscano <pino@debian.org>
Description: Fix build on GNU/Hurd
 GNU/Hurd uses a Mach-based microkernel (gnumach), so __MACH__ is defined too;
 since the code is specific to the Mac OS X variant of Mach, change the
 condition to __APPLE__.

--- a/src/osip2/osip_time.c
+++ b/src/osip2/osip_time.c
@@ -21,7 +21,7 @@
 #include <osip2/osip_time.h>
 #include <osipparser2/osip_port.h>
 
-#ifdef __MACH__
+#ifdef __APPLE__
 #include <mach/clock.h>
 #include <mach/mach.h>
 #endif
@@ -151,7 +151,7 @@ _osip_gettimeofday_realtime (struct time
   return 0;
 }
 
-#elif defined(__MACH__)
+#elif defined(__APPLE__)
 
 int
 osip_gettimeofday (struct timeval *tp, void *tz)
