projects
/
darkstat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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>
#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>
# include <sys/time.h>
# include <inttypes.h>
# include <mach/mach.h>