summaryrefslogtreecommitdiff
path: root/cgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-11 02:35:24 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-11 02:35:24 -0500
commit41ed9359fc8900453532444a5e221aaf5345e244 (patch)
tree92e6575fcb64b036f85ad2fdb3e6a0dee21b793e /cgps.c
parentd698dfe824ac5615b0eac06b634e1af8b32da13f (diff)
downloadgpsd-41ed9359fc8900453532444a5e221aaf5345e244.tar.gz
Duplicate-inclusion and portability cleanup. All regression tests pass.
Diffstat (limited to 'cgps.c')
-rw-r--r--cgps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgps.c b/cgps.c
index 9673984a..2e603672 100644
--- a/cgps.c
+++ b/cgps.c
@@ -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