You're missing constant definitions for `MSG_EXCEPT` and `MSG_NOERROR`.