summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgps.c1
-rw-r--r--gps.h1
-rw-r--r--gpsclient.c1
3 files changed, 2 insertions, 1 deletions
diff --git a/cgps.c b/cgps.c
index f86a1533..e2c9a7f8 100644
--- a/cgps.c
+++ b/cgps.c
@@ -100,6 +100,7 @@
#include "gpsd_config.h"
#include "gps.h"
+#include "compiler.h" /* for UNUSED */
#include "gpsdclient.h"
#include "revision.h"
diff --git a/gps.h b/gps.h
index c4a98ec8..13e58635 100644
--- a/gps.h
+++ b/gps.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