summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Zeimetz <bernd@bzed.de>2012-07-01 22:16:09 +0200
committerBernd Zeimetz <bernd@bzed.de>2012-07-01 22:16:09 +0200
commitfd6b385b057f06b25cd0246c082914253e80cc1f (patch)
tree87338c254ac503401d68dd2347d6f5472c3f88b5
parent4e3307756fb4ade7ee38fd4793438640e6bb9c47 (diff)
downloadgpsd-fd6b385b057f06b25cd0246c082914253e80cc1f.tar.gz
Add #ifdef line which was deleted accidentally.
-rw-r--r--ntpshm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ntpshm.c b/ntpshm.c
index 907fc82c..a30c37a0 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -389,6 +389,7 @@ static int ntpshm_pps(struct gps_device_t *session, struct timeval *tv)
#ifndef S_SPLINT_S
#include <pthread.h> /* pacifies OpenBSD's compiler */
#endif
+#if defined(HAVE_SYS_TIMEPPS_H)
#include <glob.h>
#endif
/* and for chrony */