Make events.c actually compile...