Update api/system.h

finished struct system, forgot to add the typedef after:P