Logged In: NO

The asserts are fine, it's a header inclusion that is missing.

The correct fix can be found in patch ID 1181681 (``Use of
assert() requires assert.h/cassert'')