diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-12-15 05:50:30 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-12-15 05:50:30 +0000 |
commit | 8237a45ab5ddee96dd9dabc0caa5783920a694b7 (patch) | |
tree | 64f1720d272be416c9c4715247b14234860afcf3 /cgps.c | |
parent | 344f11dca17028ae98a96732cf96b143add6946e (diff) | |
download | gpsd-8237a45ab5ddee96dd9dabc0caa5783920a694b7.tar.gz |
a better way to use ncurses, if you've got it.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -96,11 +96,15 @@ #include <math.h> #include <errno.h> #include <assert.h> - -#include <ncurses.h> #include <signal.h> #include "gpsd_config.h" +#ifdef HAVE_NCURSES_H +#include <ncurses.h> +#else +#include <curses.h> +#endif /* HAVE_NCURSES_H */ + #include "gps.h" static struct gps_data_t *gpsdata; |