Actions
Bug #1059
opencurses.h conflicts with stdbool.h
Start date:
2011-05-23
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
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.
Files
Updated by Ryan Zezeski about 8 years ago
- Assignee set to Ryan Zezeski
http://zinascii.com/pub/illumos/gate/1059/webrev/
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.
Actions