curses.h conflicts with stdbool.h
When including both curses.h and stdbool.h the following error is seen:
/usr/include/curses.h:100: error: two ore more data types in declaration specifiers
The attached patch fixes the issue on my machine.
Updated by Ryan Zezeski almost 7 years ago
- Assignee set to Ryan Zezeski
According to POSIX, stdbool.h must define the bool macro; so I used that
for the conditional.
I tested with this source file. Before, it gives the error as the
original ticket described; after, it doesn't.