Fixed undeclared `ceil` in EventHeader.cpp