add a missing #endif