diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-26 18:16:10 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-26 18:16:10 -0700 |
commit | 912d8cb19b6aee8a60eaa256f700e7c92ccae4ac (patch) | |
tree | 695e81191870d3a854da171b4418d5f057ce3145 | |
parent | a004f26d5d1164b3ff555fb4598bac6542e4e0b7 (diff) | |
download | gpsd-912d8cb19b6aee8a60eaa256f700e7c92ccae4ac.tar.gz |
Guard header files that raspbian splint hates.
Trying to cherry pick instead of just +siip-sys-headers
-rw-r--r-- | gpsd.c | 10 | ||||
-rw-r--r-- | gpsd.h-tail | 4 |
2 files changed, 8 insertions, 6 deletions
@@ -16,18 +16,18 @@ #include <stdlib.h> #include <stdbool.h> #include <stdarg.h> -#include <ctype.h> #include <setjmp.h> #include <assert.h> -#include <pwd.h> -#include <grp.h> #include <math.h> #include <syslog.h> #include <errno.h> -#include <fcntl.h> #include <signal.h> -#include <pthread.h> #ifndef S_SPLINT_S +#include <ctype.h> /* raspbian splint hates this */ +#include <pwd.h> /* raspbian splint hates this */ +#include <grp.h> /* raspbian splint hates this */ +#include <fcntl.h> /* raspbian splint hates this */ +#include <pthread.h> /* raspbian splint hates this */ #include <netdb.h> #ifndef AF_UNSPEC #include <sys/socket.h> 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" |