summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-03 05:06:19 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-03 05:06:19 -0500
commitaf7476965bde4d4564b640ef503e37553302fdf8 (patch)
tree945f64abab8744b7e005398388ef0ac27ece35c1 /lcdgps.c
parent28ff7510067a5609bc6eec1c4f9ec178488dadf5 (diff)
downloadgpsd-af7476965bde4d4564b640ef503e37553302fdf8.tar.gz
Clean up the code base and add switches so deheader runs clean.
Diffstat (limited to 'lcdgps.c')
-rw-r--r--lcdgps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lcdgps.c b/lcdgps.c
index f108adea..8a598789 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -34,8 +34,6 @@
#define CLIMB 3
-#include <sys/types.h>
-#include <sys/stat.h>
#include <stdlib.h>
#include "gpsd_config.h"
#include <string.h>
@@ -45,6 +43,7 @@
#include <math.h>
#include <errno.h>
#ifdef HAVE_SYS_SELECT_H
+ #include <sys/types.h>
#include <sys/select.h>
#endif /* HAVE_SYS_SELECT_H */
#ifndef S_SPLINT_S