summaryrefslogtreecommitdiff
path: root/timespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'timespec.h')
-rw-r--r--timespec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/timespec.h b/timespec.h
index a7eb96ec..df178b36 100644
--- a/timespec.h
+++ b/timespec.h
@@ -19,6 +19,7 @@
* NOTE: this normalization is not the same as ntpd uses
*/
#define NS_IN_SEC 1000000000LL
+#define US_IN_SEC 1000000LL /* microseconds in a second */
#define MS_IN_SEC 1000000LL
/* return the difference between timespecs in nanoseconds