summaryrefslogtreecommitdiff
path: root/timespec.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-12-26 17:16:48 -0800
committerGary E. Miller <gem@rellim.com>2018-12-26 17:16:48 -0800
commit959c6722c5d043394c0795b35c7dd54d8cd26476 (patch)
tree2712e5b87a7d7c6bfa137e27d6fbb38b30cf2850 /timespec.h
parent73620da884724a9266c7437a7814fa4faeffbabd (diff)
downloadgpsd-959c6722c5d043394c0795b35c7dd54d8cd26476.tar.gz
libgps_sock: Fix to the fix for pselect() change.
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