Hi, I don't understand why the attached patch fails with the following output, the only explanation I have is that gcc or ncurses lacks something the test which then runs gcc expects. gcc -c -I/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/include -I/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/include -I/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/include -I/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/gnu/store/7nfjg3f2c4s0jpz3vqh3iqdn9j1c3prq-perl-5.22.1/lib/perl5/5.22.1/x86_64-linux/CORE" Curses.c Curses.c:199:8: error: unknown type name ‘FIELD’ static FIELD * ^ Curses.c: In function ‘c_sv2field’: Curses.c:205:13: error: ‘FIELD’ undeclared (first use in this function) return (FIELD *)SvIV((SV*)SvRV(sv)); ^ Curses.c:205:13: note: each undeclared identifier is reported only once for each function it appears in Curses.c:205:20: error: expected expression before ‘)’ token return (FIELD *)SvIV((SV*)SvRV(sv)); ^ etc... run the build yourself to see the full output.