Update portability notes.
[darkstat] / now.c
diff --git a/now.c b/now.c
index abfc370..b1a43cb 100644 (file)
--- a/now.c
+++ b/now.c
@@ -23,7 +23,8 @@
 #include <string.h>
 #include <time.h>
 
-#ifdef __MACH__  /* Fake up clock_gettime() on OS X. */
+#if defined(__MACH__) && !defined(__gnu_hurd__)
+/* Fake up clock_gettime() on OS X. */
 #  include <sys/time.h>
 #  include <inttypes.h>
 #  include <mach/mach.h>