sabotage-linux / netbsd-curses

libcurses and dependencies taken from netbsd and brought into a portable shape (at least to musl or glibc)
Other
147 stars 14 forks source link

remove __unused to prevent older glibc conflict #35

Closed jprjr closed 5 years ago

jprjr commented 5 years ago

Hi there - I had a problem building netbsd-curses on CentOS 6 (which uses glibc-2.12).

The netbsd cdefs have a #define __unused, which conflicts with a later include from glibc.

rofl0r commented 5 years ago

hi, please see my comment on the diff. i'd prefer if we could keep the changes as minimal as possible to facilitate future upstream merges. thanks!