summaryrefslogtreecommitdiff
path: root/libgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-02-17 00:48:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-02-17 00:48:33 +0000
commit29c7151d90fa7ab73f62fa9b2e6901b45b026618 (patch)
tree52706b6e5f605e92da6cbf12a2e4f90832f97ef7 /libgps.c
parentfd1c7d4f7829daf4be79d171f5e5ce89de5a835f (diff)
downloadgpsd-29c7151d90fa7ab73f62fa9b2e6901b45b026618.tar.gz
Pre 2.31 minor bugfixes.
Diffstat (limited to 'libgps.c')
-rw-r--r--libgps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgps.c b/libgps.c
index 68490aa6..a0410ec7 100644
--- a/libgps.c
+++ b/libgps.c
@@ -5,7 +5,9 @@
#include <string.h>
#include <errno.h>
#include <sys/time.h>
-#include <pthread.h>
+#ifndef S_SPLINT_S
+#include <pthread.h> /* pacifies OpenBSD's compiler */
+#endif
#include <math.h>
#include "gpsd.h"