> mud.h:900: parse error before "MPSLEEP_DATA"
> cc1: warnings being treated as errors
> mud.h:900: warning: no semicolon at end of struct or
> union
May be, insert in mud.h, before define you struct mpsleep_data
typedef struct mpsleep_data MPSLEEP_DATA;
> struct mpsleep_data
> {
> MPSLEEP_DATA * next; //this is line 900
> MPSLEEP_DATA * prev;