summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpsd.h2
-rw-r--r--timespec.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/gpsd.h b/gpsd.h
index 127989d4..c2f19b29 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -928,8 +928,6 @@ extern void ntpshm_link_activate(struct gps_device_t *);
#endif /* NTPSHM_ENABLE */
#endif /* NTP_ENABLE */
-bool nanowait(int, int);
-
extern void errout_reset(struct gpsd_errout_t *errout);
extern void gpsd_acquire_reporting_lock(void);
diff --git a/timespec.h b/timespec.h
index 8d36a9ec..1ff7a6df 100644
--- a/timespec.h
+++ b/timespec.h
@@ -6,6 +6,8 @@
#ifndef GPSD_TIMESPEC_H
#define GPSD_TIMESPEC_H
+#include <stdbool.h> /* for bool */
+
/* normalize a timespec
*
* three cases to note
@@ -103,6 +105,8 @@ static inline void TS_NORM( struct timespec *ts)
extern void timespec_str(const struct timespec *, char *, size_t);
+bool nanowait(int, int);
+
#endif /* GPSD_TIMESPEC_H */
/* end */