summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/gps.h b/gps.h
index b6a727e8..12466196 100644
--- a/gps.h
+++ b/gps.h
@@ -10,14 +10,6 @@
extern "C" {
#endif
-/* Macro for declaring function arguments unused. */
-#if defined(__GNUC__)
-# define UNUSED __attribute__((unused)) /* Flag variable as unused */
-#else /* not __GNUC__ */
-# define UNUSED
-#endif
-
-
#include <sys/types.h>
#include <sys/time.h>
#include <stdbool.h>
@@ -29,6 +21,7 @@ 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)