diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-31 00:38:32 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-31 00:38:32 -0700 |
commit | a04c74524bd8fbd606ec9eb9c7792e053496ff4e (patch) | |
tree | 6360aed2ed348a909f6ead7499e77bfe4d9bf8d9 /ppsthread.h | |
parent | 2aacc7a03101e2f94960376bfb11d491b4323eaf (diff) | |
download | gpsd-a04c74524bd8fbd606ec9eb9c7792e053496ff4e.tar.gz |
The comments says include inistd.h, but it was not included.
Source now compiles.
Diffstat (limited to 'ppsthread.h')
-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 |