fix C_STRUCT usage in sdl