See patch.
We could also just #include post_code.h everywhere explicitly, but I think that's a bit of an overkill as we use console.h everywhere already.
Note: There are build problems in v3 currently which are being investigated (and this patch won't fix them).
Uwe.