summaryrefslogtreecommitdiff
path: root/gpsmon.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 11:15:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 11:15:31 -0500
commit8e0d51dc0f47b79c941b0cfbf7e4cb648dd4728f (patch)
tree230945616a24ed059c6b088333c1e2468a671f30 /gpsmon.h
parent6cfb37de24cd6917c01c8794808917513ccaac45 (diff)
downloadgpsd-8e0d51dc0f47b79c941b0cfbf7e4cb648dd4728f.tar.gz
Still more simplification of configuration and header handling.
Diffstat (limited to 'gpsmon.h')
-rw-r--r--gpsmon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gpsmon.h b/gpsmon.h
index cccaefbb..a7485088 100644
--- a/gpsmon.h
+++ b/gpsmon.h
@@ -8,6 +8,13 @@
#ifndef _GPSD_GPSMON_H_
#define _GPSD_GPSMON_H_
+#include "gpsd_config.h"
+#ifdef HAVE_NCURSES_H
+#include <ncurses.h>
+#else
+#include <curses.h>
+#endif /* HAVE_NCURSES_H */
+
#define COMMAND_TERMINATE -1
#define COMMAND_MATCH 1
#define COMMAND_UNKNOWN 0