list: Move ircd.h #include to before #defines to prevent weirdness