summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-22 22:07:22 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-22 22:07:22 -0500
commitc3c9e497b2d48b48f07e0821e36ab4c73071c39f (patch)
treef5f1b19b48f8c55dc9f92688cf4e470a6f977410 /gpsmon.c
parent2c69666fa6f815edbc941e278e015e54795329e8 (diff)
downloadgpsd-c3c9e497b2d48b48f07e0821e36ab4c73071c39f.tar.gz
More header portability audting with a new version of deheader.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 03e3c173..6848f8c9 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -4,17 +4,21 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include <setjmp.h>
-#include <fcntl.h> /* for O_RDWR */
#include <errno.h>
#include <signal.h>
#include <stdarg.h>
#include <time.h>
+#include <termios.h>
#include <sys/time.h> /* expected to declare select(2) a la SuS */
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */