diff options
-rw-r--r-- | ppsthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ppsthread.h b/ppsthread.h index ae9c824c..6fc4969d 100644 --- a/ppsthread.h +++ b/ppsthread.h @@ -25,6 +25,7 @@ struct timedelta_t { #if defined(HAVE_SYS_TIMEPPS_H) // include unistd.h here as it is missing on older pps-tools releases. // 'close' is not defined otherwise. +#include <unistd.h> #include <sys/time.h> #include <sys/timepps.h> #endif |