diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-26 04:15:11 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-26 04:15:11 -0500 |
commit | 3436c41671f2965d831a04ccb2ff860e945ce4a5 (patch) | |
tree | a98f7f4d39963aca2707f03bab3fc2cb8cb74f9d | |
parent | 87bcacd394d2c4197de00b782f07fc9e83f6fddc (diff) | |
download | gpsd-3436c41671f2965d831a04ccb2ff860e945ce4a5.tar.gz |
gps.h gets installed in /usr/include and must not use other GPSD-specific files!
It's bad that this get past me. Anybody who tries writing a C client
with 3.12 is going to lose. Requires a release to fix.
All regression tests pass.
-rw-r--r-- | cgps.c | 1 | ||||
-rw-r--r-- | gps.h | 1 | ||||
-rw-r--r-- | gpsclient.c | 1 |
3 files changed, 2 insertions, 1 deletions
@@ -100,6 +100,7 @@ #include "gpsd_config.h" #include "gps.h" +#include "compiler.h" /* for UNUSED */ #include "gpsdclient.h" #include "revision.h" @@ -21,7 +21,6 @@ extern "C" { #ifndef S_SPLINT_S #include <pthread.h> /* pacifies OpenBSD's compiler */ #endif -#include "compiler.h" /* * 4.1 - Base version for initial JSON protocol (Dec 2009, release 2.90) diff --git a/gpsclient.c b/gpsclient.c index 9e924b99..f1053121 100644 --- a/gpsclient.c +++ b/gpsclient.c @@ -9,6 +9,7 @@ #include <stdio.h> #include "gps.h" #include "gpsdclient.h" +#include "compiler.h" /* for UNUSED */ /* * Client utility functions |