atftp tries to include features.h from glibc but that is not on OS X. after defining __THROW it still fails, it probably uses other GNUisms. I will try to get tftp-hpa working instead. It at least compiles.
I'll be commiting 0.7-r1 shortly, please test it again, it should be much cleaner.
still same error. by the way, HOMEPAGE refers to an FTP site which requires to log in. Unless someone feels like making a patch, I think upstream should review their system to support OSX. Reopen if there is any movement, please.