Move #define WAITFD_* to .h