summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-26 18:16:10 -0700
committerGary E. Miller <gem@rellim.com>2015-03-26 18:16:10 -0700
commit912d8cb19b6aee8a60eaa256f700e7c92ccae4ac (patch)
tree695e81191870d3a854da171b4418d5f057ce3145 /gpsd.h-tail
parenta004f26d5d1164b3ff555fb4598bac6542e4e0b7 (diff)
downloadgpsd-912d8cb19b6aee8a60eaa256f700e7c92ccae4ac.tar.gz
Guard header files that raspbian splint hates.
Trying to cherry pick instead of just +siip-sys-headers
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index a6e8b057..a8a10df2 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -5,7 +5,9 @@
*/
#endif /* GPSD_CONFIG_H */
-#include <termios.h>
+#ifndef S_SPLINT_S
+#include <termios.h> /* raspbian splint hates this */
+#endif /* S_SPLINT_S */
#include <stdint.h>
#include <stdarg.h>
#include "gps.h"