diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-11 02:35:24 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-11 02:35:24 -0500 |
commit | 41ed9359fc8900453532444a5e221aaf5345e244 (patch) | |
tree | 92e6575fcb64b036f85ad2fdb3e6a0dee21b793e | |
parent | d698dfe824ac5615b0eac06b634e1af8b32da13f (diff) | |
download | gpsd-41ed9359fc8900453532444a5e221aaf5345e244.tar.gz |
Duplicate-inclusion and portability cleanup. All regression tests pass.
-rw-r--r-- | cgps.c | 1 | ||||
-rw-r--r-- | driver_aivdm.c | 1 | ||||
-rw-r--r-- | gpsmon.c | 1 | ||||
-rw-r--r-- | lcdgps.c | 2 |
4 files changed, 1 insertions, 4 deletions
@@ -79,6 +79,7 @@ #define MAX_SATWIN_SIZE (MAX_POSSIBLE_SATS + SATWIN_OVERHEAD) #include <sys/types.h> +#include <sys/stat.h> #if defined (HAVE_SYS_SELECT_H) #include <sys/select.h> #endif diff --git a/driver_aivdm.c b/driver_aivdm.c index 51ae0ee0..31acc775 100644 --- a/driver_aivdm.c +++ b/driver_aivdm.c @@ -20,7 +20,6 @@ #include <unistd.h> #endif /* S_SPLINT_S */ #include <time.h> -#include <stdio.h> #include "gpsd.h" #include "bits.h" @@ -18,7 +18,6 @@ #endif /* defined(__CYGWIN__) */ #include <fcntl.h> /* for O_RDWR */ #include <errno.h> -#include <setjmp.h> #include "gpsd_config.h" @@ -71,8 +71,6 @@ #include <termios.h> #endif /* HAVE_TERMIOS_H */ -#include <errno.h> - #include "gps.h" #include "gpsdclient.h" #include "revision.h" |