Permalink
Browse files

clock_gettime and CLOCK_MONOTONIC require time.h

This fixes a compile error on CentOS 5.
  • Loading branch information...
1 parent 44ba5fd commit 4b82de2101c4c964e966ca2ad52022adb1ff2a69 @danielbeardsley danielbeardsley committed with Oct 2, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 ct/ct.c
View
@@ -40,6 +40,7 @@ nstime()
}
#else
+# include <time.h>
static int64
nstime()

0 comments on commit 4b82de2

Please sign in to comment.