summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-12 15:02:12 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-12 15:02:12 -0500
commit55e648c97e6ad4d970ab58fbbcd004086e5c810e (patch)
tree50493e0b414e39d15089dfcf53377e78bc7bf916 /ppsthread.c
parentea63b713a8c8b222a64d084b1e1bc9ff0a172351 (diff)
downloadgpsd-55e648c97e6ad4d970ab58fbbcd004086e5c810e.tar.gz
Trying again to expose pthread_error unconditionally enough.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppsthread.c b/ppsthread.c
index bb091216..a476f04c 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -296,9 +296,9 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
memset( (void *)&pi, 0, sizeof(pps_info_t));
#endif /* S_SPLINT_S */
+#endif /* defined(HAVE_SYS_TIMEPPS_H) */
/* pthread error return */
int pthread_err;
-#endif /* defined(HAVE_SYS_TIMEPPS_H) */
/*
* Wait for status change on any handshake line. Just one edge,