Fix bug reported by Jason Stover.
authorBen Pfaff <blp@gnu.org>
Fri, 10 Aug 2007 00:16:18 +0000 (00:16 +0000)
committerBen Pfaff <blp@gnu.org>
Fri, 10 Aug 2007 00:16:18 +0000 (00:16 +0000)
commite5d44b86ac3697290369f39ea2905f9cc27345e4
tree8e57f91bafa83018f5f2a65490ce46ce152d3823
parentb4eadb0ebf239715cf322fb0c8c7cda3d108f920
Fix bug reported by Jason Stover.
* settings.c: Move get_termcap_viewport and in particular the
#include for <curses.h> to the end of the file.  curses.h
redefines bool on some systems (e.g. OpenBSD), which causes
disagreement between uses of bool before its inclusion and
afterward.
Tested by Jason Stover.
src/data/ChangeLog
src/data/settings.c