include/SDL_events.h
changeset 1258 b2283b0ded26
parent 930 02759105b989
child 1294 1760ceb23bc6
--- a/include/SDL_events.h	Thu Jan 19 21:28:52 2006 +0000
+++ b/include/SDL_events.h	Fri Jan 20 13:07:25 2006 +0000
@@ -214,7 +214,7 @@
 } SDL_SysWMEvent;
 
 /* General event structure */
-typedef union {
+typedef union SDL_Event {
 	Uint8 type;
 	SDL_ActiveEvent active;
 	SDL_KeyboardEvent key;