I may suggest that you are still able to compile with CFLAGS like
-isysroot /Developer/SDKs/MacOSX10.6.sdk
Where sdk 10.6 is taken from Xcode 3.x (Xcode 3.x had a set of sdks in
/Developer/SDKs
to distinguish between target osx versions)
Also Xcode4 has this sdk available in:
/Applications/Xcode.
is there such an animal? compiling the current version fails:
screen.c:749: error: ‘Cursor’ undeclared (first use in this function)
screen.c:749: error: (Each undeclared identifier is reported only once
screen.c:749: error: for each function it appears in.)
screen.c:749: error: expected ‘;’ befor