Hmm. It seems that one of the enums is clashing with something on the system -- I'm betting it's GETALL. I don't know why this never happened with older versions.
Does it compile if you add the FTP_ prefix to the names of the constants, both in ftp.h and ftp.c?
